Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-23334 PoC — aiohttp 路径遍历漏洞

Source
Associated Vulnerability
Title:aiohttp 路径遍历漏洞 (CVE-2024-23334)
Description:aiohttp是一个开源的用于 asyncio 和 Python 的异步 HTTP 客户端/服务器框架。 aiohttp 3.9.2之前版本存在路径遍历漏洞,该漏洞源于当follow_symlinks设置为 True 时,不会进行检查读取的文件是否位于根目录内,这可能会导致目录遍历漏洞。
Description
A proof of concept of the path traversal vulnerability in the python AioHTTP library =< 3.9.1
Readme
# CVE-2024-23334-PoC
A proof of concept of the path traversal vulnerability in the python AioHTTP library =&lt; 3.9.1

## Requirements
* **python3-venv**
> ```sudo apt install python3-venv```

## Lab setup
```bash
git clone https://github.com/z3rObyte/CVE-2024-23334-PoC
cd CVE-2024-23334-PoC
python3 -m venv .env
chmod +x ./.env/bin/activate
source ./.env/bin/activate
pip3 install -r requirements.txt
python3 server.py
```
## Exploit it!
You can use the exploit that comes in the repository:
```
bash exploit.sh
```
File Snapshot

[4.0K] /data/pocs/c50667d1cf591652d568080e78de493184a70d5c ├── [ 462] exploit.sh ├── [ 518] README.md ├── [ 15] requirements.txt ├── [ 637] server.py └── [4.0K] static └── [ 15] file.txt 1 directory, 5 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.