CVE-2024-52302 common-user-management Unrestricted File Upload Leading to Remote Code Execution (RCE)

High 8.7 Published Updated

Attackers can upload malicious files via the profile picture endpoint to achieve remote code execution in the Spring Boot application.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-52302?

CVE-2024-52302 is a high-severity vulnerability in OsamaTaher Java-springboot-codebase, published on 14 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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 to upload malicious files that can lead to Remote Code Execution (RCE).

Weakness: CWE-434

Which versions are affected by CVE-2024-52302?

How do I fix CVE-2024-52302?

No fix has been published for CVE-2024-52302 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-52302 being exploited?

There is no known exploitation of CVE-2024-52302 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-rhcq-44g3-5xcx.

Is CVE-2024-52302 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free