CVE-2024-42640 angular-base64-upload vulnerable to unauthenticated remote code execution
Unauthenticated attackers can upload arbitrary files to the server via the demo script, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42640?
CVE-2024-42640 is a critical vulnerability in n/a, published on 11 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-434
Which versions are affected by CVE-2024-42640?
2 open source packages ship an affected version, including angular-base64-upload.
| Package | Affected | Fixed in |
|---|---|---|
angular-base64-upload npm | All versions | 0.1.21 |
angular-base64-upload npm | All versions | 0.1.21 |
How do I fix CVE-2024-42640?
Upgrade angular-base64-upload to 0.1.21 or later.
Is CVE-2024-42640 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42640 exists.
Public exploit code: 2 Exploit-DB entries, 1 Nuclei template and 2 proofs of concept on GitHub.
Sources
Also known as GHSA-vgxq-6rcf-qwrw.