webcrack has an Arbitrary File Write Vulnerability on Windows when Parsing and Saving a Malicious Bundle
Published Aug 15, 2024
6.2
MEDIUMCVSS 4.0
EPSS 0.45%
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
-
- Version <= 2.14.0StatusaffectedConstraints-
- Version
-
- Version 0StatusaffectedConstraints<=2.14.0
- Version
No Red Hat product state for this CVE.
webcrack
npm
Introduced 0 Fixed 2.14.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | webcrack | 0 | 2.14.1 |
Remediation
No remediation recorded yet.
References (6)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2557 Advisory
- https://github.com/advisories/GHSA-ccqh-278p-xq6w Advisory
- https://github.com/j4k0xb/webcrack/blob/241f9469e6401f3dabc6373233d85a5e76966b54/packages/webcrack/src/unpack/bundle.ts#L79 x_refsource_MISCProduct
- https://github.com/j4k0xb/webcrack/commit/4bc5c6f353012ee7edc2cb39d01a728ab7426999 x_refsource_MISCPatch
- https://github.com/j4k0xb/webcrack/security/advisories/GHSA-ccqh-278p-xq6w x_refsource_CONFIRMExploitVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-43373
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2557 | Advisory | |
| https://github.com/advisories/GHSA-ccqh-278p-xq6w | Advisory | |
| https://github.com/j4k0xb/webcrack/blob/241f9469e6401f3dabc6373233d85a5e76966b54/packages/webcrack/src/unpack/bundle.ts#L79 | x_refsource_MISCProduct | |
| https://github.com/j4k0xb/webcrack/commit/4bc5c6f353012ee7edc2cb39d01a728ab7426999 | x_refsource_MISCPatch | |
| https://github.com/j4k0xb/webcrack/security/advisories/GHSA-ccqh-278p-xq6w | x_refsource_CONFIRMExploitVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-43373 |
Change history (0)
No recorded changes yet.