{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2024-4315", "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "state": "PUBLISHED", "assignerShortName": "@huntr_ai", "dateReserved": "2024-04-29T16:15:21.215Z", "datePublished": "2024-06-12T00:40:15.768Z", "dateUpdated": "2025-10-15T12:50:24.257Z" }, "containers": { "cna": { "title": "LFI Vulnerability due to Lack of Path Sanitization in parisneo/lollms", "providerMetadata": { "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "shortName": "@huntr_ai", "dateUpdated": "2025-10-15T12:50:24.257Z" }, "descriptions": [ { "lang": "en", "value": "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": [ { "vendor": "parisneo", "product": "parisneo/lollms", "versions": [ { "version": "unspecified", "lessThan": "9.8", "status": "affected", "versionType": "custom" } ] } ], "references": [ { "url": "https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09c" }, { "url": "https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6" } ], "metrics": [ { "cvssV3_0": { "version": "3.0", "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "baseScore": 9.1, "baseSeverity": "CRITICAL" } } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "cweId": "CWE-22" } ] } ], "source": { "advisory": "8a1b0197-2c36-4276-b92b-630a2a9bb09c", "discovery": "EXTERNAL" } }, "adp": [ { "affected": [ { "vendor": "parisneo", "product": "lollms", "cpes": [ "cpe:2.3:a:parisneo:lollms:9.5:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "versions": [ { "version": "9.5", "status": "affected" } ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2024-06-26T14:27:21.754289Z", "id": "CVE-2024-4315", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-26T14:28:57.314Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-01T20:40:47.104Z" }, "title": "CVE Program Container", "references": [ { "url": "https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09c", "tags": [ "x_transferred" ] }, { "url": "https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6", "tags": [ "x_transferred" ] } ] } ] } }