Vulnerability · Published Oct 11, 2024 · Assigned by mitre

CVE-2024-42640

Critical 9.8

In plain English

A critical-severity unrestricted file upload in the angular-base64-upload package (npm). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 40.2% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)40.2%top 1.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Nuclei, Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmangular-base64-upload0.1.21GHSA-vgxq-6rcf-qwrw

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References