{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-52302 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-52302 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-52302 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-52302 in the wild and no public exploit code.\n\nAffected product: OsamaTaher Java-springboot-codebase. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-52302/ (Markdown: https://insights.sbomify.com/CVE-2024-52302/index.md)","id":"CVE-2024-52302","markdown":"https://insights.sbomify.com/CVE-2024-52302/index.md","name":"CVE-2024-52302","record":{"aliases":["GHSA-rhcq-44g3-5xcx"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Boot user management","requires_auth":"low_privilege","summary":"Attackers can upload malicious files via the profile picture endpoint to achieve remote code execution in the Spring Boot application.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"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).","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2024-11-14","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-11-14T16:04:00Z","kind":"github_poc","ref":"https://github.com/d3sca/CVE-2024-52302","stars":1,"title":"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 leads to (RCE)"},{"date":"2025-04-15","kind":"exploitdb","ref":"52206","stars":null,"title":"Spring Boot common-user-management 0.1 - Remote Code Execution (RCE)"},{"date":"2026-03-25T20:59:49Z","kind":"github_poc","ref":"https://github.com/pream-totaram/CVE-2024-52302-reproduction","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":false,"headline":"common-user-management Unrestricted File Upload Leading to Remote Code Execution (RCE)","id":"CVE-2024-52302","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"aiohttp memory leak when middleware is enabled when requesting a resource with a non-allowed method","id":"CVE-2024-52303"},"packages":[],"prev":{"headline":"Laravel allows environment manipulation via query string","id":"CVE-2024-52301"},"products":["Java-springboot-codebase"],"published":"2024-11-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-14","vendors":["OsamaTaher"]},"summary":"Attackers can upload malicious files via the profile picture endpoint to achieve remote code execution in the Spring Boot application.","url":"https://insights.sbomify.com/CVE-2024-52302/"}