#VU85886 Path traversal in aiohttp - CVE-2024-23334

 

#VU85886 Path traversal in aiohttp - CVE-2024-23334

Published: January 30, 2024 / Updated: November 29, 2024


Vulnerability identifier: #VU85886
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2024-23334
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
aiohttp
Software vendor:
aio-libs

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in aiohttp.web.static(follow_symlinks=True). A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Request examples:

For windows: /static/../D:\flag.txt Poc

For Linux: /static/../../../../etc/passwd



Remediation

Install update from vendor's website.

External links