7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0.267 Low
EPSS
Percentile
96.8%
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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | binwalk | < 2.3.4+dfsg1-1 | binwalk_2.3.4+dfsg1-1_all.deb |
Debian | 11 | all | binwalk | <= 2.3.1+dfsg1-1 | binwalk_2.3.1+dfsg1-1_all.deb |
Debian | 10 | all | binwalk | < 2.1.2~git20180830+dfsg1-1+deb10u1 | binwalk_2.1.2~git20180830+dfsg1-1+deb10u1_all.deb |
Debian | 999 | all | binwalk | < 2.3.4+dfsg1-1 | binwalk_2.3.4+dfsg1-1_all.deb |
Debian | 13 | all | binwalk | < 2.3.4+dfsg1-1 | binwalk_2.3.4+dfsg1-1_all.deb |