CVE-2024-4315
Critical 9.1No known exploitationFix availableLFI Vulnerability due to Lack of Path Sanitization in parisneo/lollms
Vendor advisory: GHSA-vqwr-q6cc-c242
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-22
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| parisneo | parisneo/lollms | all versions before 9.8 | 9.8 | CVE Program |
| pip | lollms | all versions before 9.5.0 | 9.5.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by @huntr_ai
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database