CVE-2024-48962: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache OFBiz
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 Analysis
Technical Summary
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.
CVE-2024-48962: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.