Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-42640: n/a

0
Critical
VulnerabilityCVE-2024-42640cvecve-2024-42640
Published: Fri Oct 11 2024 (10/11/2024, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 06:08:18 UTC

Technical Analysis

CVE-2024-42640 is a critical security vulnerability identified in angular-base64-upload, a library used for handling base64 file uploads in AngularJS applications. Versions prior to 0.1.21 contain a severe flaw in the demo/server.php script, which does not enforce any authentication or validation on uploaded files. This allows an unauthenticated attacker to upload arbitrary files, including malicious scripts, to the server. Once uploaded, these files are accessible through the demo/uploads directory and can be executed by the server, leading to remote code execution (RCE). The vulnerability is categorized under CWE-434, indicating an unrestricted file upload issue where dangerous file types can be uploaded without proper filtering or sanitization. The CVSS 3.1 base score is 9.8, reflecting the vulnerability’s ease of exploitation over the network without any privileges or user interaction, and its full impact on confidentiality, integrity, and availability of the affected system. Although the maintainer no longer supports the affected versions and no official patches are available, the vulnerability remains critical for any systems still running these legacy versions. Exploitation could allow attackers to take full control of the server, execute arbitrary commands, and potentially pivot to other parts of the network. No known exploits have been publicly reported yet, but the high severity and straightforward exploitation vector make it a significant threat.

Potential Impact

The impact of CVE-2024-42640 is severe for organizations still using vulnerable versions of angular-base64-upload, especially in legacy or unmaintained applications. Successful exploitation results in remote code execution, allowing attackers to execute arbitrary commands on the affected server. This can lead to complete system compromise, data theft, deployment of malware or ransomware, and lateral movement within the network. The vulnerability affects confidentiality, integrity, and availability, potentially causing data breaches, service outages, and reputational damage. Since no authentication or user interaction is required, attackers can exploit this remotely and at scale, increasing the risk of automated attacks. Organizations relying on outdated or unsupported software components are particularly at risk, as they may lack timely patches or mitigations. The absence of known exploits in the wild currently reduces immediate risk, but the critical severity and ease of exploitation mean attackers may develop exploits rapidly. This vulnerability underscores the dangers of using unsupported software and the importance of maintaining updated dependencies.

Mitigation Recommendations

Given that the affected angular-base64-upload versions are no longer supported and no official patches exist, organizations should take immediate steps to mitigate risk. First, remove or disable the vulnerable demo/server.php component entirely, especially if it is exposed to untrusted networks. Restrict access to the demo/uploads directory via web server configuration to prevent execution of uploaded files. Implement strict input validation and file type restrictions on any file upload functionality, replacing or upgrading to a maintained and secure alternative library if possible. Employ network-level protections such as web application firewalls (WAFs) to detect and block suspicious upload attempts targeting this vulnerability. Conduct thorough audits of legacy applications to identify any usage of angular-base64-upload and plan for migration to supported solutions. Monitor logs for unusual file uploads or execution attempts related to demo/uploads. Finally, educate development teams on the risks of using unsupported third-party components and enforce policies for regular dependency updates and vulnerability management.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-08-05T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6cc8b7ef31ef0b56902b

Added to database: 2/25/2026, 9:42:32 PM

Last enriched: 2/28/2026, 6:08:18 AM

Last updated: 4/12/2026, 1:11:01 AM

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses