Patchfirst
CVE-2024-42640 Public exploit Critical · 9.8 EPSS 43.2%

angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php

Fix:upgrade angular-base64-upload to 0.1.21 or later Details ↓

Summary

The angular-base64-upload component, prior to v0.1.21, contains an unrestricted file upload flaw in its demo/server.php script. An unauthenticated remote attacker over the network can upload arbitrary content through that script, then access it via demo/uploads to execute it and gain code execution on the server, with no special configuration or user interaction required.

Official description · CVE.org

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.

Breakdown
66.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 4 days after disclosure. Public exploit code (PoC-in-GitHub) was available 2 days before disclosure.

  1. Public exploit codePoC-in-GitHub2 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+4 days

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: angular-base64-upload.

npmangular-base64-uploadGHSA-vgxq-6rcf-qwrw

Upgrade to 0.1.21 or later

npmnpm install angular-base64-upload@0.1.21

The first fix for CVE-2024-42640. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 0.1.210.1.21

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close