Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-48962: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache OFBiz

0
High
VulnerabilityCVE-2024-48962cvecve-2024-48962cwe-94cwe-352cwe-1336
Published: Mon Nov 18 2024 (11/18/2024, 08:41:30 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache OFBiz

Description

CVE-2024-48962 is a high-severity vulnerability in Apache OFBiz prior to version 18. 12. 17. It involves improper control of code generation leading to code injection, along with Cross-Site Request Forgery (CSRF) and improper neutralization of special elements in the template engine. The vulnerability allows attackers to potentially execute unauthorized code or perform actions on behalf of authenticated users. Users are advised to upgrade to Apache OFBiz version 18. 12. 17, which addresses this issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/04/2026, 15:21:20 UTC

Technical Analysis

This vulnerability in Apache OFBiz (before 18.12.17) is classified under CWE-94 (Improper Control of Generation of Code), CWE-352 (Cross-Site Request Forgery), and CWE-1336 (Improper Neutralization of Special Elements in Template Engine). It allows attackers to inject code due to insufficient validation and control over code generation processes and template elements, combined with CSRF risks. The CVSS 4.0 base score is 8.9, indicating a high severity with network attack vector, high complexity, and partial user interaction required. The vulnerability is fixed in version 18.12.17.

Potential Impact

Successful exploitation could allow remote attackers to execute arbitrary code or commands within the context of the Apache OFBiz application, potentially leading to unauthorized actions or data compromise. The presence of CSRF increases the risk of unauthorized state-changing requests being performed by authenticated users. The vulnerability affects all versions prior to 18.12.17.

Mitigation Recommendations

Users should upgrade Apache OFBiz to version 18.12.17 or later, as this version contains the official fix for the vulnerability. No other mitigation or temporary workaround is specified. Patch status is confirmed by the vendor advisory recommending the upgrade.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2024-10-10T06:25:35.776Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69f8b5f4cbff5d86102f7091

Added to database: 5/4/2026, 3:06:28 PM

Last enriched: 5/4/2026, 3:21:20 PM

Last updated: 5/4/2026, 4:40:33 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses