High severity · published Jun 6, 2024
CVE-2024-4881
Path Traversal in parisneo/lollms
7.5
CVSS
0.9%
EPSS
No
On KEV
Description
A path traversal vulnerability exists in the parisneo/lollms application, affecting version 9.4.0 and potentially earlier versions, but fixed in version 5.9.0. The vulnerability arises due to improper validation of file paths between Windows and Linux environments, allowing attackers to traverse beyond the intended directory and read any file on the Windows system. Specifically, the application fails to adequately sanitize file paths containing backslashes (`\`), which can be exploited to access the root directory and read, or even delete, sensitive files. This issue was discovered in the context of the `/user_infos` endpoint, where a crafted request using backslashes to reference a file (e.g., `\windows\win.ini`) could result in unauthorized file access. The impact of this vulnerability includes the potential for attackers to access sensitive information such as environment variables, database files, and configuration files, which could lead to further compromise of the system.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 59% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
parisneo/lollms · parisneo
before 5.9.0 · source: vendor
LO
Lollms · Lollms
before 5.9.0 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-4881
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-4881
Patch
https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6
Exploit
https://huntr.com/bounties/94f7f901-80b0-4cf5-b545-ac5c1e7635e9
More from parisneo/lollms
9.8
CVE-2026-1114
Improper Access Control via Weak JWT Token in parisneo/lollms
9.8
CVE-2026-0558
Unauthenticated File Upload in parisneo/lollms
9.8
CVE-2024-5443
Remote Code Execution via Path Traversal in parisneo/lollms
9.8
CVE-2024-3429
Path Traversal in parisneo/lollms
9.8
CVE-2024-4078
Arbitrary Code Execution in parisneo/lollms
