Skip to content
OpenAdvisories
High · 7.7 CVE-2024-43373 EUVD-2024-2557GHSA-ccqh-278p-xq6w

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

Published Aug 15, 2024 · Updated Aug 15, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
j4k0xb webcrack <= 2.14.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm webcrack < 2.14.1 2.14.1 GHSA-ccqh-278p-xq6w

References