aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal
94Vexday Risk Score
Corrige ahora. Ella explotación observada por VulnCheck y tiene exploit funcional público.
ssvc Actcvss 5.9epss 77%
de la publicación al arma30 días
Publicada en NVD29 ene
1ª PoC+30d
VulnCheck+46d
probabilidad de explotación
77%top 1% de las CVE
explotación observada
síVulnCheck
26 exploit(s) público(s)
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Productos afectados
aio-libs · aiohttpPoCs públicas encontradas — 26
cve_referencewww.exploit-db.com/exploits/52474no verificadogithubgithub.com/jhonnybonny/CVE-2024-23334★ 27githubgithub.com/z3rObyte/CVE-2024-23334-PoC★ 20githubgithub.com/ox1111/CVE-2024-23334★ 6githubgithub.com/wizarddos/CVE-2024-23334★ 5githubgithub.com/s4botai/CVE-2024-23334-PoC★ 4githubgithub.com/sxyrxyy/aiohttp-exploit-CVE-2024-23334-certstream★ 4githubgithub.com/TheRedP4nther/LFI-aiohttp-CVE-2024-23334-PoC★ 2githubgithub.com/Betan423/CVE-2024-23334-PoC★ 1githubgithub.com/0xR00/CVE-2024-23334★ 1githubgithub.com/Arc4he/CVE-2024-23334-PoC★ 1githubgithub.com/brian-edgar-re/poc-cve-2024-23334★ 0githubgithub.com/Sn0wBaall/CVE-2024-23334-PoC★ 0githubgithub.com/binaryninja/CVE-2024-23334★ 0githubgithub.com/BestDevOfc/CVE-2024-23334-PoC★ 0vulncheckvulncheck.com/xdb/5230c11bc1bcno verificadovulncheckvulncheck.com/xdb/231b48941355no verificadovulncheckvulncheck.com/xdb/f1d001911304no verificadovulncheckvulncheck.com/xdb/0847d825e445no verificadovulncheckvulncheck.com/xdb/a3696a1d17bfno verificadovulncheckvulncheck.com/xdb/9dc7cef76d0dno verificadovulncheckvulncheck.com/xdb/e5449a962b26no verificadovulncheckvulncheck.com/xdb/77981ccbbfd1no verificadovulncheckvulncheck.com/xdb/3b0121cf65f7no verificadovulncheckvulncheck.com/xdb/50842d6b7234no verificadovulncheckvulncheck.com/xdb/f2c31f560411no verificado⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.
Referencias
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514bhttps://github.com/aio-libs/aiohttp/pull/8079https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9fhttps://lists.debian.org/debian-lts-announce/2025/02/msg00002.htmlhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/https://www.exploit-db.com/exploits/52474