Arbitrary file upload in N/a
CVE-2024-42640
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.402, 98.7th percentile (scored ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- rvizx/CVE-2024-42640 (27 stars, last pushed 2025-07-12): Unauthenticated Remote Code Execution via Angular-Base64-Upload Library
- rvzsec/CVE-2024-42640 (26 stars, last pushed 2025-07-12): Unauthenticated Remote Code Execution via Angular-Base64-Upload Library
- KTN1990/CVE-2024-42640 (2 stars, last pushed 2024-11-20): Unauthenticated Remote Code Execution via Angular-Base64-Upload Library (npm:bower)
Also mentioned in 3 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.