CVE-2024-48962 Apache OFBiz: Bypass SameSite restrictions with target redirection using URL parameters (SSTI and CSRF leading to RCE)

High 8.9 Published Updated

Attackers can achieve remote code execution in Apache OFBiz by exploiting Server-Side Template Injection and CSRF vulnerabilities via URL parameters.

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-48962?

CVE-2024-48962 is a high-severity code injection vulnerability in Apache Ofbiz, published on 18 Nov 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

Improper Control of Generation of Code ('Code Injection'), Cross-Site Request Forgery (CSRF), : Improper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache OFBiz.

This issue affects Apache OFBiz: before 18.12.17.

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

Weakness: CWE-94, CWE-352, CWE-1336

Which versions are affected by CVE-2024-48962?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2024-48962?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-48962 being exploited?

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

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-ffrw-8p66-394j.

Is CVE-2024-48962 in your software?

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

Check your SBOMs for free