CVE-2024-38856

CRITICAL KEV NUCLEI

Apache OFBiz forgotPassword/ProgramExport RCE

Title source: metasploit
STIX 2.1

Exploitation Summary

CVE-2024-38856 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added August 27, 2024. EIP tracks 14 public exploits from researchers including securelayer7, 0x20c, Hex00-0x4, including a Metasploit module exploits/multi/http/apache_ofbiz_forgot_password_directory_traversal. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains a functional exploit and scanner for CVE-2024-38856, an RCE vulnerability in Apache OFBiz. The Python script includes both scanning and exploitation capabilities, with options for command execution and proxy support.

Description

Incorrect Authorization vulnerability in Apache OFBiz. This issue affects Apache OFBiz: through 18.12.14. Users are recommended to upgrade to version 18.12.15, which fixes the issue. Unauthenticated endpoints could allow execution of screen rendering code of screens if some preconditions are met (such as when the screen definitions don't explicitly check user's permissions because they rely on the configuration of their endpoints).

Exploits (14)

nomisec WORKING POC 48 stars
by securelayer7 · remote
https://github.com/securelayer7/CVE-2024-38856_Scanner

This repository contains a functional exploit and scanner for CVE-2024-38856, an RCE vulnerability in Apache OFBiz. The Python script includes both scanning and exploitation capabilities, with options for command execution and proxy support.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz through 18.12.14
No auth needed
Prerequisites: Network access to the target Apache OFBiz instance · Python environment with required dependencies (requests, colorama)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 9 stars
by 0x20c · remote
https://github.com/0x20c/CVE-2024-38856-EXP

This repository contains a functional exploit for CVE-2024-38856, an unauthenticated RCE vulnerability in Apache OFBiz. The exploit leverages a Groovy script injection via the `/webtools/control/main/ProgramExport` endpoint to execute arbitrary commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz (versions up to 18.12.14)
No auth needed
Prerequisites: Target must be running a vulnerable version of Apache OFBiz · Network access to the target's `/webtools/control/main/ProgramExport` endpoint
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 3 stars
by Hex00-0x4 · remote
https://github.com/Hex00-0x4/CVE-2024-38856-Apache-OFBiz

This repository contains a functional exploit for CVE-2024-38856, targeting Apache OFBiz. The exploit leverages a Groovy script injection vulnerability in the `/webtools/control/main/ProgramExport` endpoint to achieve remote code execution (RCE).

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz
No auth needed
Prerequisites: Network access to the target Apache OFBiz instance · The `/webtools/control/main/ProgramExport` endpoint must be accessible
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec STUB 3 stars
by BBD-YZZ · poc
https://github.com/BBD-YZZ/CVE-2024-38856-RCE

The repository contains only a placeholder README with images and a trivial 'Hello, world!' Go program, with no functional exploit code or technical details about CVE-2024-38856.

Classification
Stub 100%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
github WORKING POC 2 stars
by Ap0dexMe0 · pythonpoc
https://github.com/Ap0dexMe0/CVE-2024-38856

This repository contains a functional exploit for CVE-2024-38856, targeting Apache OFBiz with a Groovy-based RCE payload. The script automates the exploitation process, including command encoding and multi-threaded target scanning.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz
No auth needed
Prerequisites: network access to target · Apache OFBiz with vulnerable endpoint exposed
devstral-2 · analyzed May 13, 2026 Full analysis →
nomisec WORKING POC 2 stars
by ThatNotEasy · remote
https://github.com/ThatNotEasy/CVE-2024-38856

This repository contains a functional exploit for CVE-2024-38856, targeting Apache OFBiz with a Groovy-based RCE payload. The script encodes commands in base64, constructs a Unicode-escaped payload, and attempts execution via multiple endpoints.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz
No auth needed
Prerequisites: Network access to target · Apache OFBiz instance with vulnerable endpoints exposed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by FakesiteSecurity · remote
https://github.com/FakesiteSecurity/CVE-2024-38856_Scen

This repository contains a functional exploit for CVE-2024-38856, targeting Apache OFBiz versions up to 18.12.14. The exploit leverages a Groovy script injection vulnerability to achieve remote code execution (RCE) by encoding commands in base64 and Unicode, then sending them to the vulnerable endpoint.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz up to 18.12.14
No auth needed
Prerequisites: Network access to the target · Vulnerable Apache OFBiz instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 1 stars
by emanueldosreis · remote
https://github.com/emanueldosreis/CVE-2024-38856

The repository contains a Nuclei template for detecting CVE-2024-38856, a vulnerability in Apache OfBiz before 18.12.15. The template sends a crafted GET request to trigger a command injection and checks for the presence of 'uid=0' in the response to confirm exploitation.

Classification
Scanner 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Apache OfBiz < 18.12.15
No auth needed
Prerequisites: Network access to the target Apache OfBiz instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by Praison001 · remote
https://github.com/Praison001/CVE-2024-38856-ApacheOfBiz

The repository contains a functional exploit and scanner for CVE-2024-38856, a pre-authentication remote code execution vulnerability in Apache OFBiz. The exploit leverages a Groovy script injection via the `ProgramExport` endpoint to execute arbitrary commands, while the scanner checks for vulnerability by attempting to execute a test command.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz versions before 18.12.15
No auth needed
Prerequisites: Network access to the target Apache OFBiz instance · Target must be running a vulnerable version of Apache OFBiz
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by AlissonFaoli · remote
https://github.com/AlissonFaoli/Apache-OFBiz-Exploit

This repository contains a functional exploit for CVE-2024-38856, an unauthenticated RCE vulnerability in Apache OFBiz. The exploit leverages a Groovy script injection via the `/webtools/control/main/ProgramExport` endpoint to execute arbitrary commands or spawn a reverse shell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz up to version 18.12.14
No auth needed
Prerequisites: Network access to the target Apache OFBiz instance · Python 3.10 or higher
devstral-2 · analyzed Feb 18, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Mr-xn, jheysel-r7 · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_ofbiz_forgot_password_directory_traversal.rb

This Metasploit module exploits CVE-2024-38856, an Incorrect Authorization vulnerability in Apache OFBiz, allowing remote code execution via the /webtools/control/forgotPassword/ProgramExport endpoint. It bypasses authentication to execute arbitrary commands by injecting a Groovy script payload.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz < 18.12.15
No auth needed
Prerequisites: Network access to the target · Apache OFBiz service running on port 8443
devstral-2 · analyzed Jun 05, 2026 Full analysis →
vulncheck_xdb WORKING POC
remote
https://github.com/guinea-offensive-security/Ofbiz-RCE

This repository contains a functional Python exploit for CVE-2024-38856, targeting Apache OFBiz versions before 18.12.15. The exploit leverages incorrect authorization to achieve remote code execution via Groovy code injection through the `/webtools/control/forgotPassword/ProgramExport` endpoint.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache OFBiz < 18.12.15
No auth needed
Prerequisites: Network access to the target OFBiz instance · The `/webtools/control/forgotPassword/ProgramExport` endpoint must be accessible
devstral-2 · analyzed Feb 25, 2026 Full analysis →
vulncheck_xdb WORKING POC
remote
https://github.com/GrassWorkshop/GrassWorkshop-practice-POC

The repository contains functional exploit code for multiple vulnerabilities, including arbitrary file upload and authentication bypass in various OA systems (e.g., Weaver E-Cology, H3C CVM). The PoCs demonstrate exploitation techniques such as JSP file uploads and session key retrieval.

Classification
Working Poc 95%
Attack Type
Auth Bypass | Other
Complexity
Moderate
Reliability
Reliable
Target: Weaver E-Cology, H3C CVM, and other OA systems
No auth needed
Prerequisites: network access to target system · vulnerable endpoint exposed
devstral-2 · analyzed Feb 25, 2026 Full analysis →
vulncheck_xdb WORKING POC
remote
https://github.com/RacerZ-fighting/CVE-2024-32113-POC

The repository contains functional exploit code for CVE-2024-38856, demonstrating RCE in Apache OfBiz via the `/webtools/control/ProgramExport` endpoint by injecting Groovy code. The PoC includes multiple curl commands to trigger RCE and bypass authentication.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Apache OfBiz
No auth needed
Prerequisites: Access to the target Apache OfBiz instance
devstral-2 · analyzed Feb 25, 2026 Full analysis →

Nuclei Templates (1)

Apache OFBiz - Improper Authorization & Remote Code Execution
CRITICALVERIFIEDby Co5mos
Shodan: title:"OFBiz"
FOFA: app="Apache_OFBiz"

References (6)

Core 6

Scores

CVSS v3 9.8
EPSS 0.9943
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2024-08-27
VulnCheck KEV 2024-08-19
InTheWild.io 2024-08-27
ENISA EUVD EUVD-2024-37643
CWE
CWE-863
Status published
Products (1)
apache/ofbiz < 18.12.15
Published Aug 05, 2024
KEV Added Aug 27, 2024
Tracked Since Feb 18, 2026