Skip to content

CVE-2024-43373 webcrack has an Arbitrary File Write Vulnerability on Windows when Parsing and Saving a Malicious Bundle

HighCVSS 7.8 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

webcrack is a tool for reverse engineering javascript. An arbitrary file write vulnerability exists in the webcrack module when processing specifically crafted malicious code on Windows systems. This vulnerability is triggered when using the unpack bundles feature in conjunction with the saving feature. If a module name includes a path traversal sequence with Windows path separators, an attacker can exploit this to overwrite files on the host system. This vulnerability allows an attacker to write arbitrary .js files to the host system, which can be leveraged to hijack legitimate Node.js modules to gain arbitrary code execution. This vulnerability has been patched in version 2.14.1.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
j4k0xb webcrack < 2.14.1; <= 2.14.0; = <= 2.14.0 2.14.1 Fixed
npm webcrack(npm) < 2.14.1; <= 2.14.0 2.14.1 Fixed

Affected products

ProductAffected versionsFixed in
npm webcrack(npm) <= 2.14.0 No fix listed
j4k0xb webcrack = <= 2.14.0 No fix listed
j4k0xb webcrack <= 2.14.0 No fix listed
j4k0xb webcrack < 2.14.1 2.14.1
npm webcrack(npm) < 2.14.1 2.14.1

References