CVE-2024-23334
aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 3.9.2 | aiohttp · -1 d desde divulgación | |
| Divulgación | Publicada | CVE-2024-23334 divulgada · CVSS 5.9 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Explotación | Exploit-DB | 1 exploit público | |
| Divulgación | Modificada | Última actualización del registro | |
| Explotación | Umbral EPSS | La probabilidad de explotación supera el 10 % | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. Version 3.9.2 fixes this issue.
Only aiohttp web servers that serve static routes with follow_symlinks=True, in versions after 1.0.5 and before 3.9.2, are affected. Fixed in 3.9.2.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypiaiohttp |
Corregida | 3.9.2 | -1 d | 3.14.5 no afectada |
3.9.2Arsenal público
Ver los 15 repositorios de GitHub
Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9fhttps://www.exploit-db.com/exploits/52474https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-23334.yamlhttps://github.com/Arc4he/CVE-2024-23334-PoChttps://github.com/BestDevOfc/CVE-2024-23334-PoChttps://github.com/Betan423/CVE-2024-23334-PoChttps://github.com/JohnnyWang108/hdu-is-lab1-secure-apihttps://github.com/Sn0wBaall/CVE-2024-23334-PoChttps://github.com/TheRedP4nther/LFI-aiohttp-CVE-2024-23334-PoChttps://github.com/binaryninja/CVE-2024-23334https://github.com/brian-edgar-re/poc-cve-2024-23334https://github.com/frogb1t/CVE-2024-23334Ver 10 referencias más
https://github.com/jhonnybonny/CVE-2024-23334https://github.com/ox1111/CVE-2024-23334https://github.com/s4botai/CVE-2024-23334-PoChttps://github.com/sxyrxyy/aiohttp-exploit-CVE-2024-23334-certstreamhttps://github.com/wizarddos/CVE-2024-23334https://github.com/z3rObyte/CVE-2024-23334-PoChttps://github.com/aio-libs/aiohttp/pull/8079https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514bhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
