CVE-2024-9920
Unrestricted File Upload and Execution in parisneo/lollms-webui
概要
Unrestricted File Upload and Execution in parisneo/lollms-webui
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
In version v12 of parisneo/lollms-webui, the 'Send file to AL' function allows uploading files with various extensions, including potentially dangerous ones like .py, .sh, .bat, and more. Attackers can exploit this by uploading files with malicious content and then using the '/open_file' API endpoint to execute these files. The vulnerability arises from the use of 'subprocess.Popen' to open files without proper validation, leading to potential remote code execution.
参照URL
- advisory github.com
- advisory nvd.nist.gov
- web huntr.com