2025-03-23 03:03:54 +00:00

64 lines
2.6 KiB
JSON

{
"id": "CVE-2024-6982",
"sourceIdentifier": "security@huntr.dev",
"published": "2025-03-20T10:15:34.740",
"lastModified": "2025-03-20T10:15:34.740",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "A remote code execution vulnerability exists in the Calculate function of parisneo/lollms version 9.8. The vulnerability arises from the use of Python's `eval()` function to evaluate mathematical expressions within a Python sandbox that disables `__builtins__` and only allows functions from the `math` module. This sandbox can be bypassed by loading the `os` module using the `_frozen_importlib.BuiltinImporter` class, allowing an attacker to execute arbitrary commands on the server. The issue is fixed in version 9.10."
},
{
"lang": "es",
"value": "Existe una vulnerabilidad de ejecuci\u00f3n remota de c\u00f3digo en la funci\u00f3n Calculate de parisneo/lollms versi\u00f3n 9.8. Esta vulnerabilidad surge del uso de la funci\u00f3n `eval()` de Python para evaluar expresiones matem\u00e1ticas dentro de un entorno de pruebas de Python que deshabilita `__builtins__` y solo permite funciones del m\u00f3dulo `math`. Este entorno de pruebas puede evitarse cargando el m\u00f3dulo `os` mediante la clase `_frozen_importlib.BuiltinImporter`, lo que permite a un atacante ejecutar comandos arbitrarios en el servidor. El problema se solucion\u00f3 en la versi\u00f3n 9.10."
}
],
"metrics": {
"cvssMetricV30": [
{
"source": "security@huntr.dev",
"type": "Secondary",
"cvssData": {
"version": "3.0",
"vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.4,
"baseSeverity": "HIGH",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.5,
"impactScore": 5.9
}
]
},
"weaknesses": [
{
"source": "security@huntr.dev",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
],
"references": [
{
"url": "https://github.com/parisneo/lollms/commit/30e7eaba2ccfb751a81e7cb29fdef2ae8ffa6832",
"source": "security@huntr.dev"
},
{
"url": "https://huntr.com/bounties/4f8e73ac-aaaf-4d5c-a6dd-58215b5a7fea",
"source": "security@huntr.dev"
}
]
}