# Binwalk中的路径遍历漏洞
## 漏洞概述
ReFirm Labs binwalk从版本2.1.2b到2.3.3存在路径遍历漏洞。攻击者可以通过构造恶意PFS文件系统文件,利用binwalk的PFS提取器将文件提取到任意位置,从而实现远程代码执行。
## 影响版本
2.1.2b 至 2.3.3
## 漏洞细节
攻击者可以通过构造恶意PFS文件系统文件,利用binwalk的PFS提取器将恶意binwalk模块提取到.config/binwalk/plugins目录中。此漏洞与程序文件src/binwalk/plugins/unpfs.py相关。
## 影响
该漏洞可能导致远程代码执行,因为恶意binwalk模块可以在binwalk启动时加载并执行。
是否为 Web 类漏洞: 未知
判断理由:
| # | POC 描述 | 源链接 | 神龙链接 |
|---|---|---|---|
| 1 | Binwalk Remote Command Execution | https://github.com/electr0sm0g/CVE-2022-4510 | POC详情 |
| 2 | A Python script for generating exploits targeting CVE-2022-4510 RCE Binwalk. It supports SSH, command execution, and reverse shell options. Exploits are saved in PNG format. Ideal for testing and demonstrations. | https://github.com/adhikara13/CVE-2022-4510-WalkingPath | POC详情 |
| 3 | Python script that generates pfs payloads to exploit CVE-2022-4510 | https://github.com/Kalagious/BadPfs | POC详情 |
| 4 | Python script that generates pfs payloads to exploit CVE-2022-4510 | https://github.com/Kalagious/BadPfs-CVE-2022-4510 | POC详情 |
暂无评论