CVE-2026-83542

Apache OFBiz: Unauthenticated RCE via login-page widget injection

Published Nov 5, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.3% KEV · Not listed
Description
Improper Control of Generation of Code ('Code Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote unauthenticated attacker to execute arbitrary code on the server by staging crafted widget XML in a multipart upload and overriding the mainDecoratorLocation used by a manager login route through an anonymous JSON request, causing OFBiz to load the staged XML through its live screen descriptor mechanism and evaluate an unsandboxed Groovy expression while rendering the authentication-failure page. Further validation established the following:

-- The exploit does not require a malformed or incomplete multipart body: a well-formed multipart request that is kept in flight and then allowed to complete normally is sufficient.

-- The screen loader reads the widget XML from a live process file descriptor while the upload is streaming, rather than from any file the attacker persists to disk.

-- The same underlying issue is also reachable through the public, explicitly unauthenticated /sfa/control/editPortalPageColumnWidth route, returning command output directly in an HTTP 200 response — it is not limited to the login-failure rendering path used in the original report.



The described vulnerability was discovered independantly twice, with each having a CVE assigned. See References.




Users are recommended to upgrade to version 24.09.08, which fixes this issue.

Analysis

AI-generated

Technical impact

Apache OFBiz versions 24.09 prior to 24.09.08 are vulnerable to code injection due to improper control of generated code. A remote, unauthenticated attacker can craft widget XML and upload it via a well‑formed multipart request, or override the mainDecoratorLocation using an anonymous JSON request to the login route. The application then loads the staged XML from a live process file descriptor while streaming and evaluates an unsandboxed Groovy expression in the live screen descriptor during authentication‑failure rendering. The same flaw is reachable through the public unauthenticated /sfa/control/editPortalPageColumnWidth endpoint, which returns command output directly in an HTTP 200 response. Exploitation yields arbitrary code execution on the server.

Affected Systems

The vulnerability affects the Apache Software Foundation’s Apache OFBiz product, specifically version 24.09 on all supported operating systems. Any deployment that has not yet applied the 24.09.08 security update is at risk.

Risk and Exploitability

The CVSS score is 9.8, indicating critical severity. The EPSS score is 1% and the vulnerability is not listed in CISA KEV, but the description shows that a remote unauthenticated attacker can exploit the flaw. A well‑formed multipart request or an unauthenticated GET to /sfa/control/editPortalPageColumnWidth triggers the vulnerable code path, enabling arbitrary Groovy code execution. The lack of authentication requirement and the ability to inject and run code indicate a high likelihood of exploitation in exposed environments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.08 or later, which contains the official fix for this widget XML code injection issue.
  • Block or restrict unauthenticated access to the multipart upload endpoint used for login page widgets and to the /sfa/control/editPortalPageColumnWidth route, for example by configuring the web server or firewall to allow only trusted IPs.
  • Disable or restrict the live screen descriptor feature that evaluates external Groovy expressions, or apply a sandbox to Groovy execution to prevent arbitrary code from running if an immediate upgrade is not possible.

Generated by OpenCVE AI on November 15, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Improper Control of Generation of Code ('Code Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote unauthenticated attacker to execute arbitrary code on the server by staging crafted widget XML in a multipart upload and overriding the mainDecoratorLocation used by a manager login route through an anonymous JSON request, causing OFBiz to load the staged XML through its live screen descriptor mechanism and evaluate an unsandboxed Groovy expression while rendering the authentication-failure page. Further validation established the following: -- The exploit does not require a malformed or incomplete multipart body: a well-formed multipart request that is kept in flight and then allowed to complete normally is sufficient. -- The screen loader reads the widget XML from a live process file descriptor while the upload is streaming, rather than from any file the attacker persists to disk. -- The same underlying issue is also reachable through the public, explicitly unauthenticated /sfa/control/editPortalPageColumnWidth route, returning command output directly in an HTTP 200 response — it is not limited to the login-failure rendering path used in the original report. Users are recommended to upgrade to version 24.09.08, which fixes this issue. Improper Control of Generation of Code ('Code Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote unauthenticated attacker to execute arbitrary code on the server by staging crafted widget XML in a multipart upload and overriding the mainDecoratorLocation used by a manager login route through an anonymous JSON request, causing OFBiz to load the staged XML through its live screen descriptor mechanism and evaluate an unsandboxed Groovy expression while rendering the authentication-failure page. Further validation established the following: -- The exploit does not require a malformed or incomplete multipart body: a well-formed multipart request that is kept in flight and then allowed to complete normally is sufficient. -- The screen loader reads the widget XML from a live process file descriptor while the upload is streaming, rather than from any file the attacker persists to disk. -- The same underlying issue is also reachable through the public, explicitly unauthenticated /sfa/control/editPortalPageColumnWidth route, returning command output directly in an HTTP 200 response — it is not limited to the login-failure rendering path used in the original report. The described vulnerability was discovered independantly twice, with each having a CVE assigned. See References. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
References
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz
Vendors & Products Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Control of Generation of Code ('Code Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote unauthenticated attacker to execute arbitrary code on the server by staging crafted widget XML in a multipart upload and overriding the mainDecoratorLocation used by a manager login route through an anonymous JSON request, causing OFBiz to load the staged XML through its live screen descriptor mechanism and evaluate an unsandboxed Groovy expression while rendering the authentication-failure page. Further validation established the following: -- The exploit does not require a malformed or incomplete multipart body: a well-formed multipart request that is kept in flight and then allowed to complete normally is sufficient. -- The screen loader reads the widget XML from a live process file descriptor while the upload is streaming, rather than from any file the attacker persists to disk. -- The same underlying issue is also reachable through the public, explicitly unauthenticated /sfa/control/editPortalPageColumnWidth route, returning command output directly in an HTTP 200 response — it is not limited to the login-failure rendering path used in the original report. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Title Apache OFBiz: Unauthenticated RCE via login-page widget injection
Weaknesses CWE-94
References
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 12, 2026, 10:41 AM
Reserved
Aug 31, 2026, 5:54 PM
Status
Modified
Published
Nov 5, 2026, 2:17 PM
Modified
Nov 12, 2026, 11:17 AM