CVE-2024-42640: Malicious File Upload

Published Oct 11, 2024
·
Updated

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

1 affected componentFixes available
npm/angular-base64-upload<0.1.21
0.1.21

Event History

Oct 11, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:32 PM
Apr 4, 2025
Exploit Published
12:00 AM
Known Exploited
09:45 AM
Apr 17, 2025
Exploit Published
12:00 AM

Frequently Asked Questions

1

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.

2

How do I fix CVE-2024-42640?

To fix CVE-2024-42640, upgrade to angular-base64-upload version 0.1.21 or later.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203