Vulnerability · Published Oct 11, 2024 · Assigned by mitre
CVE-2024-42640
Critical 9.8
In plain English
A critical-severity unrestricted file upload in the angular-base64-upload package (npm). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 40.2% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | angular-base64-upload | 0.1.21 | GHSA-vgxq-6rcf-qwrw |
Affected products (as reported)
Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H