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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- Angular-Base64-Upload Library 0.1.21 - Unauthenticated Remote Code Execution (RCE) EDB-52253 · webapps · Apr 17, 2025
- Angular-Base64-Upload Library 0.1.20 - Remote Code Execution (RCE) EDB-52121 · remote · Apr 4, 2025
GitHub 2 repositories
-
rvzsec/CVE-2024-42640 ★ 26 · Oct 9, 2024
Unauthenticated Remote Code Execution via Angular-Base64-Upload Library
-
KTN1990/CVE-2024-42640 ★ 2 · Nov 19, 2024
Unauthenticated Remote Code Execution via Angular-Base64-Upload Library (npm:bower)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Angular-Base64-Upload - Remote Code Execution http/cves/2024/CVE-2024-42640.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | angular-base64-upload | < 0.1.21 | 0.1.21 | GHSA-vgxq-6rcf-qwrw |