一、 漏洞 CVE-2022-4510 基础信息
漏洞信息
                                        # 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启动时加载并执行。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Path Traversal in binwalk
来源:美国国家漏洞数据库 NVD
漏洞描述信息
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included. By crafting a malicious PFS filesystem file, an attacker can get binwalk's PFS extractor to extract files at arbitrary locations when binwalk is run in extraction mode (-e option). Remote code execution can be achieved by building a PFS filesystem that, upon extraction, would extract a malicious binwalk module into the folder .config/binwalk/plugins. This vulnerability is associated with program files src/binwalk/plugins/unpfs.py. This issue affects binwalk from 2.1.2b through 2.3.3 included.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
来源:美国国家漏洞数据库 NVD
漏洞类别
对路径名的限制不恰当(路径遍历)
来源:美国国家漏洞数据库 NVD
漏洞标题
Binwalk 路径遍历漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Binwalk是ReFirm Labs开源的一种快速、易于使用的工具。用于分析、逆向工程和提取固件图像。 ReFirm Labs Binwalk 2.1.2b版本至2.3.2版本存在路径遍历漏洞,该漏洞源于存在路径遍历,通过制作恶意PFS文件系统文件,攻击者可以在任意位置提取文件。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
路径遍历
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2022-4510 的公开POC
# 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详情
三、漏洞 CVE-2022-4510 的情报信息