{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57487 exists.","fix":"No fix has been published for CVE-2024-57487 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-57487 is a medium-severity vulnerability in n/a, published on 13 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-57487 and fix it if it is affected.\n\nWhat it is: CVE-2024-57487 is a medium-severity vulnerability in n/a, published on 13 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57487 exists.\n\nAffected product: n/a. 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-57487/ (Markdown: https://insights.sbomify.com/CVE-2024-57487/index.md)","id":"CVE-2024-57487","markdown":"https://insights.sbomify.com/CVE-2024-57487/index.md","name":"CVE-2024-57487","record":{"aliases":["GHSA-7x4h-2rpq-2c9f"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Online Car Rental System","requires_auth":"none","summary":"Attackers can upload PHP shells to execute arbitrary commands on the server due to missing file validation in the upload feature.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"online_car_rental_system","vendor":"code-projects"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"In Code-Projects Online Car Rental System 1.0, the file upload feature does not validate file extensions or MIME types allowing an attacker to upload a PHP shell without any restrictions and execute commands on the server.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-01-10","github_poc":1,"max_poc_stars":0,"metasploit":1,"nuclei":0,"refs":[{"date":"2025-01-10T16:06:23Z","kind":"github_poc","ref":"https://github.com/aaryan-11-x/CVE-2024-57487-and-CVE-2024-57488","stars":0,"title":"POC of CVE-2024-57487 \u0026 CVE-2024-57488"},{"date":"2025-01-13","kind":"metasploit","ref":"exploit/multi/http/carrental_fileupload_rce","stars":null,"title":"Car Rental System 1.0 File Upload RCE (Authenticated)"}],"tier":"weaponised"},"has_fix":null,"headline":"File upload in n/a","id":"CVE-2024-57487","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":"Cross-site scripting in n/a","id":"CVE-2024-57488"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2024-57483"},"products":["n/a"],"published":"2025-01-13","related":[{"cvss_score":6.5,"headline":"Cross-site scripting in n/a","id":"CVE-2024-57488","kev_date_added":null,"published":"2025-01-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-13","vendors":["n/a"]},"summary":"Attackers can upload PHP shells to execute arbitrary commands on the server due to missing file validation in the upload feature.","url":"https://insights.sbomify.com/CVE-2024-57487/"}