CVE-2024-45507 Apache OFBiz: Prevent use of URLs in files when loading them from Java or Groovy, leading to a RCE

High 8.8 Published Updated

Attackers can exploit SSRF and code injection in Apache OFBiz to achieve remote code execution by loading malicious URLs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-45507?

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.

Official description

Server-Side Request Forgery (SSRF), Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OFBiz.

This issue affects Apache OFBiz: before 18.12.16.

Users are recommended to upgrade to version 18.12.16, which fixes the issue.

Weakness: CWE-94, CWE-918

Which versions are affected by CVE-2024-45507?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2024-45507?

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

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-45507 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45507 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-w8w4-463p-8pg7.

Is CVE-2024-45507 in your software?

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

Check your SBOMs for free