CVE-2024-52302
Published: 14 November 2024
Summary
CVE-2024-52302 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability. Its CVSS base score is 8.7 (High).
Operationally, ranked in the top 8.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2024-52302 is an unrestricted file upload vulnerability (CWE-434) affecting the common-user-management Spring Boot application. The flaw resides in the /api/v1/customer/profile-picture endpoint, which accepts arbitrary file uploads without content-type, extension, or content validation, allowing an attacker to place executable files on the server that can subsequently be invoked for remote code execution.
An authenticated user with low privileges can reach the endpoint over the network and upload a malicious payload, resulting in full compromise of confidentiality, integrity, and availability on the affected host. The CVSS 4.0 score of 8.7 reflects the combination of low attack complexity, no user interaction, and high impact across all three security properties.
The associated GitHub security advisory GHSA-rhcq-44g3-5xcx and the referenced commit 204402bb8b68030c14911379ddc82cfff00b8538 document the remediation, which introduces proper file validation and restrictions on the profile-picture upload path. The current EPSS of 0.0746 shows no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-45839
Vulnerability details
common-user-management is a robust Spring Boot application featuring user management services designed to control user access dynamically. There is a critical security vulnerability in the application endpoint /api/v1/customer/profile-picture. This endpoint allows file uploads without proper validation or restrictions, enabling attackers…
more
to upload malicious files that can lead to Remote Code Execution (RCE).
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.