aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal
94Vexday Risk Score
Corrija agora. Ela exploração observada pelo VulnCheck e tem exploit funcional público.
ssvc Actcvss 5.9epss 77%
da publicação à arma30 dias
Publicada no NVD29 de jan.
1ª PoC+30d
VulnCheck+46d
probabilidade de exploração
77%top 1% das CVEs
exploração observada
simVulnCheck
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
Produtos afetados
aio-libs · aiohttpPoCs públicas encontradas — 26
cve_referencewww.exploit-db.com/exploits/52474não 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/5230c11bc1bcnão verificadovulncheckvulncheck.com/xdb/231b48941355não verificadovulncheckvulncheck.com/xdb/f1d001911304não verificadovulncheckvulncheck.com/xdb/0847d825e445não verificadovulncheckvulncheck.com/xdb/a3696a1d17bfnão verificadovulncheckvulncheck.com/xdb/9dc7cef76d0dnão verificadovulncheckvulncheck.com/xdb/e5449a962b26não verificadovulncheckvulncheck.com/xdb/77981ccbbfd1não verificadovulncheckvulncheck.com/xdb/3b0121cf65f7não verificadovulncheckvulncheck.com/xdb/50842d6b7234não verificadovulncheckvulncheck.com/xdb/f2c31f560411não verificado⚠ Recursos públicos, para você avaliar a exposição de sistemas que controla ou está autorizado a testar. Teste apenas com autorização.
Referências
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