ghsa-vqwr-q6cc-c242
Vulnerability from github
Published
2024-06-12 03:31
Modified
2024-06-12 17:12
Severity ?
Summary
parisneo/lollms Local File Inclusion (LFI) attack
Details
parisneo/lollms version 9.5 is vulnerable to Local File Inclusion (LFI) attacks due to insufficient path sanitization. The sanitize_path_from_endpoint
function fails to properly sanitize Windows-style paths (backward slash \
), allowing attackers to perform directory traversal attacks on Windows systems. This vulnerability can be exploited through various routes, including personalities
and /del_preset
, to read or delete any file on the Windows filesystem, compromising the system's availability.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "lollms" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "9.5.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-4315" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2024-06-12T17:12:45Z", "nvd_published_at": "2024-06-12T01:15:49Z", "severity": "CRITICAL" }, "details": "parisneo/lollms version 9.5 is vulnerable to Local File Inclusion (LFI) attacks due to insufficient path sanitization. The `sanitize_path_from_endpoint` function fails to properly sanitize Windows-style paths (backward slash `\\`), allowing attackers to perform directory traversal attacks on Windows systems. This vulnerability can be exploited through various routes, including `personalities` and `/del_preset`, to read or delete any file on the Windows filesystem, compromising the system\u0027s availability.", "id": "GHSA-vqwr-q6cc-c242", "modified": "2024-06-12T17:12:45Z", "published": "2024-06-12T03:31:15Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-4315" }, { "type": "WEB", "url": "https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6" }, { "type": "PACKAGE", "url": "https://github.com/ParisNeo/lollms" }, { "type": "WEB", "url": "https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09c" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "type": "CVSS_V3" } ], "summary": "parisneo/lollms Local File Inclusion (LFI) attack" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- 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.