{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45507 exists.","fix":"No fix has been published for CVE-2024-45507 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-45507 is a high-severity server-side request forgery vulnerability in Apache Ofbiz, published on 4 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-45507 and fix it if it is affected.\n\nWhat it is: CVE-2024-45507 is a high-severity server-side request forgery vulnerability in Apache Ofbiz, published on 4 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45507 exists.\n\nAffected product: Apache Ofbiz. 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-45507/ (Markdown: https://insights.sbomify.com/CVE-2024-45507/index.md)","id":"CVE-2024-45507","markdown":"https://insights.sbomify.com/CVE-2024-45507/index.md","name":"CVE-2024-45507","record":{"aliases":["GHSA-w8w4-463p-8pg7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache OFBiz","requires_auth":"none","summary":"Attackers can exploit SSRF and code injection in Apache OFBiz to achieve remote code execution by loading malicious URLs.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"ofbiz","vendor":"apache"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Server-Side Request Forgery (SSRF), Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OFBiz.\n\nThis issue affects Apache OFBiz: before 18.12.16.\n\nUsers are recommended to upgrade to version 18.12.16, which fixes the issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-09-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-09-11T07:14:13Z","kind":"github_poc","ref":"https://github.com/Avento/CVE-2024-45507_Behinder_Webshell","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-45507.yaml","stars":null,"title":"Apache OFBiz - Remote Code Execution"}],"tier":"weaponised"},"has_fix":false,"headline":"Apache OFBiz: Prevent use of URLs in files when loading them from Java or Groovy, leading to a RCE","id":"CVE-2024-45507","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:ofbiz","products":["apache:ofbiz"],"type":"ssrf","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"Memory corruption in n/a","id":"CVE-2024-45508"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2024-45506"},"products":["Apache OFBiz"],"published":"2024-09-04","related":[{"cvss_score":9.8,"headline":"Apache OFBiz Forced Browsing","id":"CVE-2024-45195","kev_date_added":"2025-02-04","published":"2024-09-04"},{"cvss_score":9.1,"headline":"Apache OFBiz Path Traversal","id":"CVE-2024-32113","kev_date_added":"2024-08-07","published":"2024-05-08"},{"cvss_score":8.1,"headline":"Apache OFBiz Incorrect Authorization","id":"CVE-2024-38856","kev_date_added":"2024-08-27","published":"2024-08-05"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2013-2250","kev_date_added":null,"published":"2013-08-15"},{"cvss_score":10,"headline":"Unspecified vulnerability in the Apache Open For Business Project (aka OFBiz) 10.04.x before 10.04.03 has unknown impact and attack vectors.","id":"CVE-2012-3506","kev_date_added":null,"published":"2012-10-25"},{"cvss_score":9.8,"headline":"Apache OFBiz: Authentication Bypass via Password-Change Logic Flaw Leading to RCE","id":"CVE-2026-45434","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":9.8,"headline":"Apache OFBiz: URLs allowing remote use of Groovy expressions, leading to RCE","id":"CVE-2024-47208","kev_date_added":null,"published":"2024-11-18"}],"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":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-13","vendors":["Apache Software Foundation"]},"summary":"Attackers can exploit SSRF and code injection in Apache OFBiz to achieve remote code execution by loading malicious URLs.","url":"https://insights.sbomify.com/CVE-2024-45507/"}