159 lines
6.7 KiB
JSON
159 lines
6.7 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.1",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2024-5443",
|
|
"assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "@huntr_ai",
|
|
"dateReserved": "2024-05-28T18:53:00.148Z",
|
|
"datePublished": "2024-06-22T16:12:32.499Z",
|
|
"dateUpdated": "2024-08-01T21:11:12.805Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"title": "Remote Code Execution via Path Traversal in parisneo/lollms",
|
|
"providerMetadata": {
|
|
"orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
|
|
"shortName": "@huntr_ai",
|
|
"dateUpdated": "2024-06-22T16:12:32.499Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "CVE-2024-4320 describes a vulnerability in the parisneo/lollms software, specifically within the `ExtensionBuilder().build_extension()` function. The vulnerability arises from the `/mount_extension` endpoint, where a path traversal issue allows attackers to navigate beyond the intended directory structure. This is facilitated by the `data.category` and `data.folder` parameters accepting empty strings (`\"\"`), which, due to inadequate input sanitization, can lead to the construction of a `package_path` that points to the root directory. Consequently, if an attacker can create a `config.yaml` file in a controllable path, this path can be appended to the `extensions` list and trigger the execution of `__init__.py` in the current directory, leading to remote code execution. The vulnerability affects versions up to 5.9.0, and has been addressed in version 9.8."
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"vendor": "parisneo",
|
|
"product": "parisneo/lollms",
|
|
"versions": [
|
|
{
|
|
"version": "unspecified",
|
|
"lessThan": "9.8",
|
|
"status": "affected",
|
|
"versionType": "custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://huntr.com/bounties/db52848a-4dbe-4110-a981-03739834bf45"
|
|
},
|
|
{
|
|
"url": "https://github.com/parisneo/lollms/commit/2d0c4e76be93195836ecd0948027e791b8a2626f"
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV3_0": {
|
|
"version": "3.0",
|
|
"attackComplexity": "LOW",
|
|
"attackVector": "NETWORK",
|
|
"availabilityImpact": "HIGH",
|
|
"confidentialityImpact": "HIGH",
|
|
"integrityImpact": "HIGH",
|
|
"privilegesRequired": "NONE",
|
|
"scope": "UNCHANGED",
|
|
"userInteraction": "NONE",
|
|
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
|
|
"baseScore": 9.8,
|
|
"baseSeverity": "CRITICAL"
|
|
}
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"type": "CWE",
|
|
"lang": "en",
|
|
"description": "CWE-29 Path Traversal: '\\..\\filename'",
|
|
"cweId": "CWE-29"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "db52848a-4dbe-4110-a981-03739834bf45",
|
|
"discovery": "EXTERNAL"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"affected": [
|
|
{
|
|
"vendor": "parisneo",
|
|
"product": "lollms",
|
|
"cpes": [
|
|
"cpe:2.3:a:parisneo:lollms:*:*:*:*:*:*:*:*"
|
|
],
|
|
"defaultStatus": "unknown",
|
|
"versions": [
|
|
{
|
|
"version": "0",
|
|
"status": "affected",
|
|
"lessThanOrEqual": "5.9.0",
|
|
"versionType": "custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2024-06-24T14:49:54.244514Z",
|
|
"id": "CVE-2024-5443",
|
|
"options": [
|
|
{
|
|
"Exploitation": "poc"
|
|
},
|
|
{
|
|
"Automatable": "yes"
|
|
},
|
|
{
|
|
"Technical Impact": "total"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2024-06-24T14:51:22.620Z"
|
|
}
|
|
},
|
|
{
|
|
"providerMetadata": {
|
|
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
|
"shortName": "CVE",
|
|
"dateUpdated": "2024-08-01T21:11:12.805Z"
|
|
},
|
|
"title": "CVE Program Container",
|
|
"references": [
|
|
{
|
|
"url": "https://huntr.com/bounties/db52848a-4dbe-4110-a981-03739834bf45",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://github.com/parisneo/lollms/commit/2d0c4e76be93195836ecd0948027e791b8a2626f",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |