Critical, CVSS 9.3npmAmendedPublished
angular-base64-upload vulnerable to unauthenticated remote code execution
CVE-2024-42640 · GHSA-vgxq-6rcf-qwrw
- Affected
- npm angular-base64-upload < 0.1.21
- Fixed in
- 0.1.21· Vendor fix available
- Issue
- angular-base64-upload versions prior to v0.1.21 are vulnerable to unauthenticated remote code execution via the angular-base64-upload/demo/server.php endpoint. Exploitation of this vulnerability involves uploading arbitrary file content to the server, which can subsequently accessed through the angular-base64-upload/demo/uploads endpoint. This leads to the execution of previously uploaded content which enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Recommended action: Upgrade to 0.1.21 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.