ghsa-pwc9-q4hj-pg8g
Vulnerability from github
Published
2024-05-16 09:33
Modified
2024-09-13 19:34
Severity ?
9.8 (Critical) - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
8.9 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
8.9 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Summary
LoLLMS Command Injection vulnerability
Details
A vulnerability in the parisneo/lollms, specifically in the /unInstall_binding
endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the name
parameter in the unInstall_binding
function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious __init__.py
file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "lollms" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "9.5.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-4078" ], "database_specific": { "cwe_ids": [ "CWE-77" ], "github_reviewed": true, "github_reviewed_at": "2024-09-13T19:34:51Z", "nvd_published_at": "2024-05-16T09:15:15Z", "severity": "HIGH" }, "details": "A vulnerability in the parisneo/lollms, specifically in the `/unInstall_binding` endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the `name` parameter in the `unInstall_binding` function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious `__init__.py` file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.", "id": "GHSA-pwc9-q4hj-pg8g", "modified": "2024-09-13T19:34:51Z", "published": "2024-05-16T09:33:08Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-4078" }, { "type": "WEB", "url": "https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f" }, { "type": "PACKAGE", "url": "https://github.com/parisneo/lollms" }, { "type": "WEB", "url": "https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P", "type": "CVSS_V4" } ], "summary": "LoLLMS Command Injection vulnerability" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.