CVE-2026-47342
Apache OFBiz vulnerability analysis and mitigation

Overview

CVE-2026-47342 is a privilege escalation vulnerability in Apache OFBiz, officially titled "Privilege Escalation via updateOrRemove Authorization Bypass." It allows a low-privileged authenticated user to obtain higher privileges, including potential FULLADMIN access, by exploiting improper authorization checks. All Apache OFBiz versions before 24.09.07 are affected. The vulnerability was disclosed on June 10, 2026, by Apache, with credit to researcher Le Huynh Duc (lwd3c). It carries a CVSS v3.1 base score of 8.8 (High) (Apache Advisory, GitHub Advisory).

Technical details

The root cause is classified as CWE-285 (Improper Authorization) — the application fails to correctly enforce authorization checks when a low-privileged user attempts to access or modify restricted resources. Specifically, the vulnerability resides in the updateOrRemove functionality, where a crafted request to the /ordermgr/control/updateFeatures endpoint with a manipulated UserLoginSecurityGroup payload can bypass access controls. The attack is network-based, requires only low privileges (a valid authenticated session), and demands no user interaction. A public PoC demonstrates full-chain exploitation including privilege escalation to FULLADMIN and subsequent Remote Code Execution (RCE) via Groovy injection (oss-security, PoC GitHub).

Impact

Successful exploitation allows a low-privileged authenticated attacker to escalate to administrative (FULLADMIN) privileges within Apache OFBiz, resulting in high impact to confidentiality, integrity, and availability. An attacker with elevated privileges can access sensitive business data, modify configurations, and — as demonstrated in the public PoC — achieve Remote Code Execution via Groovy injection, potentially leading to full system compromise. This could enable lateral movement within the network, data exfiltration, and persistent backdoor installation (GitHub Advisory, PoC GitHub).

Exploitability

A fully functional public proof-of-concept exploit is available on GitHub, consisting of automated bash scripts (create_buyer_user.sh and poc_fullchain.sh) that demonstrate end-to-end exploitation including privilege escalation to FULLADMIN and RCE via Groovy injection against a live Apache OFBiz deployment (PoC GitHub). The vulnerability was discovered and reported by researcher Le Huynh Duc (lwd3c), who also authored the PoC (oss-security). As of the time of reporting, there is no confirmed evidence of in-the-wild exploitation, and the vulnerability has not been added to the CISA KEV catalog. The EPSS score is approximately 0.017–0.343%, indicating a currently low but non-negligible exploitation probability (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify internet-facing Apache OFBiz instances running versions prior to 24.09.07 using tools like Shodan or Censys, or by checking the OFBiz version endpoint.
  2. Obtain low-privileged credentials: Register or obtain a low-privileged account (e.g., a buyer user). The public PoC includes create_buyer_user.sh to automate creation of such an account on the target.
  3. Authenticate: Log in to the OFBiz instance with the low-privileged account to obtain a valid session cookie.
  4. Craft malicious request: Send a crafted HTTP POST request to /ordermgr/control/updateFeatures with a manipulated UserLoginSecurityGroup payload that references a higher-privilege security group (e.g., FULLADMIN), exploiting the missing authorization check in the updateOrRemove function.
  5. Escalate privileges: The server processes the request without proper authorization validation, granting the attacker FULLADMIN-level privileges.
  6. Achieve RCE: With administrative access, inject a malicious Groovy script via OFBiz's Groovy execution functionality to achieve Remote Code Execution on the underlying server (as demonstrated in poc_fullchain.sh, resulting in arbitrary command execution as the OFBiz service user) (PoC GitHub, oss-security).

Indicators of compromise

  • Network: Unusual HTTP POST requests to /ordermgr/control/updateFeatures from low-privileged user sessions; unexpected outbound connections from the OFBiz server to external IPs following privilege escalation.
  • Logs: OFBiz access logs showing requests to updateFeatures or updateOrRemove endpoints by non-administrative users; log entries reflecting sudden privilege changes for user accounts (e.g., assignment to FULLADMIN security group); Groovy script execution events in application logs.
  • File System: Unexpected scripts or web shells written to the OFBiz deployment directory; new or modified files in the OFBiz runtime or hot-deploy directories.
  • Process: Unusual child processes spawned by the OFBiz Java process (e.g., bash, curl, wget, python, nc); evidence of reverse shell connections initiated from the OFBiz service account (PoC GitHub).

Mitigation and workarounds

Apache has released version 24.09.07 of OFBiz, which fixes this vulnerability. All users running Apache OFBiz versions prior to 24.09.07 are strongly recommended to upgrade immediately, especially given the availability of a public PoC exploit. No configuration-based workarounds have been officially documented; upgrading to 24.09.07 or later is the only confirmed remediation (Apache Advisory, GitHub Advisory). As an interim measure, organizations should restrict access to OFBiz administrative endpoints and monitor for anomalous privilege changes in user accounts.

Community reactions

The vulnerability was announced on the Apache security mailing list and the oss-security list on June 10, 2026, by Jacopo Cappellato on behalf of the Apache OFBiz team (oss-security). The disclosure was noted on Bluesky by security-focused accounts shortly after publication. The availability of a full-chain public PoC (including RCE) has drawn attention from the security community, with aggregators such as VulDB and exploit-intel.com tracking the vulnerability. No major vendor statements beyond the official Apache advisory have been identified.

Additional resources


SourceThis report was generated using AI

Related Apache OFBiz vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-45434CRITICAL9.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesMay 19, 2026
CVE-2026-50223HIGH8.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesJun 10, 2026
CVE-2026-47342HIGH8.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesJun 10, 2026
CVE-2026-46586HIGH8.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesMay 19, 2026
CVE-2026-45187MEDIUM6.5
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesMay 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management