CVE Series: aiohttp Directory Traversal Vulnerability (CVE-2024-23334)
CVE-2024-23334 is a high severity vulnerability found in the aiohttp Python library, a popular asynchronous HTTP client/server framework. By the end of this course you will be able to execute a directory traversal attack using aiohttp's vulnerable configuration and then perform remediation steps to fix the vulnerability.

Course Content
Course Description
CVE-2024-23334 is a high severity vulnerability found in the aiohttp Python library, a popular asynchronous HTTP client/server framework. This vulnerability, which has been under active exploitation by cybercriminals, allows unauthenticated remote attackers to exploit improper path validation when symbolic links are followed in static routes. By manipulating the follow_symlinks=True option, an attacker can gain unauthorized access to arbitrary files on a system, leading to a directory traversal attack. All versions of aiohttp below 3.9.2 are affected. The root cause of this vulnerability is the failure to properly restrict access to files outside the intended directories when serving static content. By the end of this course you will be able to execute a directory traversal attack using aiohttp's vulnerable configuration and then perform remediation steps to fix the vulnerability.
Target Audience
This course is for seasoned red teamers, penetration testers, security and vulnerability assessment analysts, developers, and system administrators who want to know how to exploit and protect against the latest vulnerabilities impacting enterprise systems.
Course Level
Intermediate
Prerequisites
A basic understanding of the Linux command line, docker, networking, and Python.
Helpful Links
- CVE Entry: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-23334 (Official CVE)
- NIST Entry: https://nvd.nist.gov/vuln/detail/CVE-2024-23334
- Security Advisory: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
- BleepingComputer Article: https://www.bleepingcomputer.com/news/security/hackers-exploit-aiohttp-bug-to-find-vulnerable-networks/
- Exploit: https://github.com/jhonnybonny/CVE-2024-23334