CVE-2024-23334
aiohttp Directory Traversal Vulnerability
Description
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.
INFO
Published Date :
Jan. 29, 2024, 11:15 p.m.
Last Modified :
Feb. 9, 2024, 3:15 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2024-23334 has a 28 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-23334
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Bash script to automate Local File Inclusion (LFI) attacks on aiohttp server version 3.9.1.
Shell
Proof of concept of the parh traversal in python AioHTTP library =< 3.9.1
Python
None
Shell
None
Proof-of-Concept for LFI/Path Traversal vulnerability in Aiohttp =< 3.9.1
Python
None
None
None
A proof of concept of the LFI vulnerability on aiohttp 3.9.1
bash-script cybersecurity
Shell
None
HTML
None
HTML
2024 HVV情报速递~
Radisys Vulnerability Assessment and Management System
Rust Makefile
Expolit for CVE-2024-23334 (aiohttp >= 1.0.5> && <=3.9.1)
Dockerfile Python
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-23334
vulnerability anywhere in the article.
- The Cyber Express
Cyble Sensors Uncover Cyberattacks Targeting Key Vulnerabilities
Cyble’s Vulnerability Intelligence unit has spotlighted a series of cyberattacks targeting critical vulnerabilities in various software systems, including the Ruby SAML library, D-Link NAS devices, an ... Read more
The following table lists the changes that have been made to the
CVE-2024-23334
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 09, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/ [No types assigned] -
Initial Analysis by [email protected]
Feb. 05, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b No Types Assigned https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b Patch Changed Reference Type https://github.com/aio-libs/aiohttp/pull/8079 No Types Assigned https://github.com/aio-libs/aiohttp/pull/8079 Patch Changed Reference Type https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f No Types Assigned https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f Exploit, Mitigation, Vendor Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/ Mailing List Added CPE Configuration OR *cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:* versions from (including) 1.0.5 up to (excluding) 3.9.2 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 05, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/ [No types assigned] -
CVE Received by [email protected]
Jan. 29, 2024
Action Type Old Value New Value Added Description 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. Added Reference GitHub, Inc. https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f [No types assigned] Added Reference GitHub, Inc. https://github.com/aio-libs/aiohttp/pull/8079 [No types assigned] Added Reference GitHub, Inc. https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b [No types assigned] Added CWE GitHub, Inc. CWE-22 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-23334
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-23334
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
8.79 }} -0.38%
score
0.94728
percentile