CVE-2024-42640 in the critical feed json
angular-base64-upload vulnerable to unauthenticated remote code execution
published 2024-10-11 2 y ago modified 2026-06-17 4 mo ago also GHSA-vgxq-6rcf-qwrw , EUVD-2024-3143
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 40.2%
- EPSS 40.2% chance of exploitation in 30 days, percentile 98%
- public exploits
- 2
- Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
- npm angular-base64-upload 0.1.21
- angular-base64-upload-project angular-base64-upload 0.1.21
Timeline
- Published
- First public exploit (EDB-52121)
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
40.21% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-52253 Angular-Base64-Upload Library 0.1.21 - Unauthenticated Remote Code Execution (RCE) webapps, 2025-04-17
- EDB-52121 Angular-Base64-Upload Library 0.1.20 - Remote Code Execution (RCE) remote, 2025-04-04
- Nuclei template Angular-Base64-Upload - Remote Code Execution nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | angular-base64-upload | <0.1.21 |
0.1.21 |
Affected products
- angular-base64-upload-project angular-base64-upload
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
Sources
- CVE List CVE-2024-42640
- GitHub Advisory GHSA-vgxq-6rcf-qwrw
- NVD CVE-2024-42640
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.