{"id":"CVE-2024-1520","published":"2024-04-10T17:08:02Z","modified":"2024-08-01T18:40:21Z","title":"OS Command Injection in parisneo/lollms-webui","vendor":"parisneo","product":"parisneo/lollms-webui","tier":"tail","description":{"text":"An OS Command Injection vulnerability exists in the '/open_code_folder' endpoint of the parisneo/lollms-webui application, due to improper validation of user-supplied input in the 'discussion_id' parameter. Attackers can exploit this vulnerability by injecting malicious OS commands, leading to unauthorized command execution on the underlying operating system. This could result in unauthorized access, data leakage, or complete system compromise.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.48214,"percentile":0.98891,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://huntr.com/bounties/405c2059-3fe9-4233-8eed-741ec847d181","tags":[]},{"url":"https://github.com/parisneo/lollms-webui/commit/2497d1a4fe5a09f003bf7a9bc426139e9295a934","tags":[]}],"priority":{"score":26.6,"factors":[{"name":"EPSS percentile","points":19.78},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms-webui","versions":[">= unspecified, < 9.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-07-31T15:12:34.783931Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"An OS command injection flaw exists in the '/open_code_folder' endpoint of parisneo/lollms-webui, where the 'discussion_id' parameter is not properly validated before being used. An attacker who can submit crafted input to that endpoint can inject operating system commands and execute them on the host, with the possibility of unauthorized access, data leakage, or full system compromise.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:23Z"},"euvd":{"id":"EUVD-2024-17268","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-parisneo-lollms-webui-cve-2024-1522","parents":[{"from":"CVE-2024-1522","to":"CVE-2024-1520","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["endpoints/lollms_advanced.py"],"commits":["https://github.com/parisneo/lollms-webui/commit/2497d1a4fe5a09f003bf7a9bc426139e9295a934","https://github.com/parisneo/lollms-webui/commit/0b51063119cfb5e391925d232a4af1de9dc32e2b"],"basis":"shared function","functions":["open_code_folder","open_code_in_vs_code","open_file"]}]}],"children":[{"from":"CVE-2024-1520","to":"CVE-2024-1569","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["endpoints/lollms_advanced.py"],"commits":["https://github.com/parisneo/lollms-webui/commit/2497d1a4fe5a09f003bf7a9bc426139e9295a934","https://github.com/parisneo/lollms-webui/commit/354cf766835396b7fc0d5105ed3b77572a653149"],"basis":"shared function","functions":["open_code_folder","open_code_in_vs_code","open_file"]}]},{"from":"CVE-2024-1520","to":"CVE-2024-4326","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["endpoints/lollms_advanced.py"],"commits":["https://github.com/parisneo/lollms-webui/commit/2497d1a4fe5a09f003bf7a9bc426139e9295a934","https://github.com/parisneo/lollms-webui/commit/abb4c6d495a95a3ef5b114ffc57f85cd650b905e"],"basis":"shared function","functions":["open_file"]}]}]}}