{"id":"CVE-2024-43373","published":"2024-08-15T14:31:34Z","modified":"2024-08-15T15:55:26Z","title":"webcrack has an Arbitrary File Write Vulnerability on Windows when Parsing and Saving a Malicious Bundle","vendor":"j4k0xb","product":"webcrack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00447,"percentile":0.39783,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/j4k0xb/webcrack/security/advisories/GHSA-ccqh-278p-xq6w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/j4k0xb/webcrack/commit/4bc5c6f353012ee7edc2cb39d01a728ab7426999","tags":["x_refsource_MISC"]},{"url":"https://github.com/j4k0xb/webcrack/blob/241f9469e6401f3dabc6373233d85a5e76966b54/packages/webcrack/src/unpack/bundle.ts#L79","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":7.96},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"j4k0xb","affectedVersions":[{"vendor":"j4k0xb","product":"webcrack","versions":["<= 2.14.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-15T15:53:16.977094Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"webcrack","vulnerableRanges":["<2.14.1"],"patched":["2.14.1"],"from":["GHSA-ccqh-278p-xq6w"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the webcrack module of the webcrack JavaScript reverse-engineering tool lets a module name containing Windows path separators escape the intended output directory when bundles are unpacked and saved on Windows systems. An attacker who can supply a crafted malicious bundle for a user to process locally, with the unpack and save features used together, can write arbitrary .js files to the host and may use them to hijack legitimate Node.js modules for code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:34Z"},"euvd":{"id":"EUVD-2024-2557","exploited":false,"provenance":"source"}}