Directory Traversal Vulnerability in aiohttp Static Routing

Patch nowSensitive data exposure over the network, no login needed.
5.9MEDIUM

CVE-2024-23334

Key Information:

Vendor

Aio-libs

Status
Aiohttp
CVE ID
CVE ID:
CVE-2024-23334
Vendor
CVE Published:
29 January 2024

Timeline

Exploit known 31 days after it was published

  • 🟡

    Public PoC available

  • 💰

    Used in Ransomware

  • 📰

    First article discovered by Pentest-Tools.com

  • 👾

    Exploit known to exist

  • 📈

    Vulnerability started trending

  • Vulnerability published

  • Vulnerability Reserved

Badges

📈 Trended📈 Score: 6,410💰 Ransomware👾 Exploit Exists🟡 Public PoC🟣 EPSS 26%📰 News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (4 proof-of-concepts)
  • No: Not on CISA's exploited list
  • Yes: Used by ransomware

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Aiohttp. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

It is being exploited in the wild, so check logs on exposed Aiohttp systems for unusual requests or new processes from before you patched. The 4 public proof-of-concepts show what an attack looks like.

4Why it's rated "Patch now"
  • Ransomware groups use it.
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 26.3% chance of exploitation in the next 30 days.
  • Its CVSS severity is medium (5.9).

What is CVE-2024-23334?

CVE-2024-23334 is a directory traversal vulnerability in the Aiohttp framework, which is an asynchronous HTTP client/server for Python. This flaw occurs when the 'follow_symlinks' option is set to True while configuring static routes. In this scenario, the server does not validate file paths, allowing an attacker to access arbitrary files outside the designated static root directory. This can lead to unauthorized reading of sensitive information on the server.

Version 3.9.2 of Aiohttp addresses this vulnerability. The flaw has been exploited in the wild, with reports indicating that threat actors, including those associated with ransomware, are actively targeting affected instances.

Potential Impact of CVE-2024-23334

  1. Unauthorized file access: An attacker can read sensitive files on the server, potentially exposing confidential data.

  2. Exploitation by ransomware: The vulnerability has been linked to ransomware activities, allowing attackers to leverage it for malicious purposes.

Affected Version(s)

aiohttp < 3.9.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

ShadowSyndicate Hackers Exploiting Aiohttp Vulnerability

A new Aiohttp vulnerability has been discovered which is found to be exploited by the threat actor named "ShadowSyndicate".

aiohttp路径遍历漏洞 | CVE-2024-23334

本文所提供的信息只为网络安全人员对自己所负责的网站、服务器等(包括但不限于)进行检测或维护参考,未经授权请勿利用文章中的技术资料对任何计算机系统进行入侵操作。利用此文所提供的信息而造成的直接或间接后果和损失,均由使用者本人负责。

favicon imagesecurityonline.info

News Archives

ShadowSyndicate Ransomware Gang Targets aiohttp CVE-2024-23334 Flaw: Patch Now!A recently patched vulnerability in the popular Python web framework aiohttp has swiftly landed on the radar of notorious...

References

Denial of Service in AIOHTTP

CVE-2025-69228
Aio-libsAiohttp6.6MEDIUM
View more Aio-libs vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

26% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.