CVE-2024-42640: Malicious File Upload
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.
Other sources
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.
— GitHub
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-42640?
CVE-2024-42640 is classified as a critical vulnerability due to the potential for unauthenticated remote code execution.
How do I fix CVE-2024-42640?
To fix CVE-2024-42640, upgrade to angular-base64-upload version 0.1.21 or later.
What can attackers do with CVE-2024-42640?
Attackers can exploit CVE-2024-42640 to upload arbitrary content to the server, leading to unauthorized code execution.
Which versions of angular-base64-upload are affected by CVE-2024-42640?
CVE-2024-42640 affects all versions of angular-base64-upload prior to 0.1.21.
Is user authentication sufficient to mitigate CVE-2024-42640?
No, CVE-2024-42640 is a vulnerability that allows unauthenticated access, so user authentication alone does not mitigate the risk.