POC详情: c50667d1cf591652d568080e78de493184a70d5c

来源
关联漏洞
标题: aiohttp 路径遍历漏洞 (CVE-2024-23334)
描述:aiohttp是一个开源的用于 asyncio 和 Python 的异步 HTTP 客户端/服务器框架。 aiohttp 3.9.2之前版本存在路径遍历漏洞,该漏洞源于当follow_symlinks设置为 True 时,不会进行检查读取的文件是否位于根目录内,这可能会导致目录遍历漏洞。
描述
A proof of concept of the path traversal vulnerability in the python AioHTTP library =< 3.9.1
介绍
# 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
```
文件快照

[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
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。