Apache Software Foundation Apache OFBiz
Apache OFBiz: Unauthenticated endpoint could allow execution of screen rendering code
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).
Timeline
Days relative to CVE publicationFirst public PoC 1 h after publication; added to CISA KEV 22 days after publication. First PoC: nuclei template: Apache OFBiz - Improper Authorization & Remote Code Execution (nuclei template, 5 Aug 2024).
PoC repositories
Found on GitHub.12 PoCs · 2 pending · 1 not a PoC
PoCs 12
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| securelayer7/CVE-2024-38856_Scanner | 8 Aug 2024 +2.8 d | 49 | Scanner |
| Ap0dexMe0/CVE-2024-38856 | 10 Aug 2024 +4.8 d | 2 | PoC |
| ThatNotEasy/CVE-2024-38856 | 10 Aug 2024 +4.8 d | 2 | PoC |
| GraySignal/CVE-2024-38856-ApacheOfBiz | 18 Aug 2024 +13 d | 1 | PoC |
| Praison001/CVE-2024-38856-ApacheOfBiz | 18 Aug 2024 +13 d | 1 | PoC |
| 0x20c/CVE-2024-38856-EXP | 22 Aug 2024 +17 d | 9 | PoC |
| emanueldosreis/CVE-2024-38856 | 27 Aug 2024 +23 d | 1 | Scanner |
| BBD-YZZ/CVE-2024-38856-RCE | 28 Aug 2024 +23 d | 3 | PoC |
| FakesiteSecurity/CVE-2024-38856_Scen | 2 Jan 2025 +150 d | 1 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| AlissonFaoli/Apache-OFBiz-Exploit | 11 Feb 2025 +190 d | 1 | PoC |
| guinea-offensive-security/Ofbiz-RCE | 11 Jul 2025 +340 d | 0 | PoC |
| Hex00-0x4/CVE-2024-38856-Apache-OFBiz | 10 Oct 2025 +1.2 y | 3 | PoC |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| XiaomingX/cve-2024-38856-poc | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| codeb0ss/CVE-2024-38856-PoC | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| RacerZ-fighting/CVE-2024-32113-POC | 10 Apr 2024 −117 d | 7 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Apache OFBiz forgotPassword/ProgramExport RCE (exploit/multi/http/apache_ofbiz_forgot_password_directory_traversal) | 15 Aug 2024 | 14 Nov 2026 |
| nuclei template | nuclei template: Apache OFBiz - Improper Authorization & Remote Code Execution | 5 Aug 2024 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 12 PoC reposPOST /webtools/control/main/ProgramExport
- Body markers
groovyProgram=groovyProgram=throw new Exception(new ProcessBuilder("sh", "-c", "inapplication/x-www-form-urlencoded- Ports
- 8443
- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 11.2; rv:122.0) Gecko/20000101 Firefox/123.0- Seen in
- 2 repos: 0x20c/CVE-2024-38856-EXP, AlissonFaoli/Apache-OFBiz-Exploit
- Evidence
- 0x20c/CVE-2024-38856-EXP/CVE-2024-38856.yaml:22 AlissonFaoli/Apache-OFBiz-Exploit/CVE-2024-38856.py:34
GET /webtools/control/forgotPassword/ProgramExport
- Query
groovyProgram=throw new Exception('id'.execute().text)- Seen in
- 1 repo: emanueldosreis/CVE-2024-38856
- Evidence
- emanueldosreis/CVE-2024-38856/CVE-2024-38856.yaml:14
POST /webtools/control/forgotPassword/ProgramExport
- Body markers
groovyProgram=inapplication/x-www-form-urlencoded- Ports
- 8080, 8443
- Seen in
- 1 repo: guinea-offensive-security/Ofbiz-RCE
- Evidence
- guinea-offensive-security/Ofbiz-RCE/exploit.py:57
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/webtools/control/main/ProgramExport(?:[?#].*)?$
(?i)^/webtools/control/forgotPassword/ProgramExport\?(?:.*&)?groovyProgram=throw new Exception\('id'\.execute\(\)\.text\)
(?i)^/webtools/control/forgotPassword/ProgramExport(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8443] (msg:"GG PoC-Monitor CVE-2024-38856 Apache Software Foundation Apache OFBiz exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/webtools/control/main/ProgramExport"; http.request_body; content:"groovyProgram="; http.request_body; content:"groovyProgram=throw new Exception(new ProcessBuilder(|22|sh|22|, |22|-c|22|, |22|"; reference:url,poc.griffinguard.io/cve/CVE-2024-38856; classtype:web-application-attack; sid:9047032; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2024-38856 Apache Software Foundation Apache OFBiz exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/webtools/control/forgotPassword/ProgramExport"; http.uri; content:"groovyProgram=throw new Exception('id'.execute().text)"; reference:url,poc.griffinguard.io/cve/CVE-2024-38856; classtype:web-application-attack; sid:9138099; rev:1;)
alert http any any -> $HOME_NET [8080,8443] (msg:"GG PoC-Monitor CVE-2024-38856 Apache Software Foundation Apache OFBiz exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/webtools/control/forgotPassword/ProgramExport"; http.request_body; content:"groovyProgram="; reference:url,poc.griffinguard.io/cve/CVE-2024-38856; classtype:web-application-attack; sid:9572923; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache OFBiz exploit attempt (CVE-2024-38856)
id: gg-pocmon-cve-2024-38856-9047032
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-38856. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-38856
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/webtools/control/main/ProgramExport'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2024.38856
title: Apache Software Foundation Apache OFBiz exploit attempt (CVE-2024-38856)
id: gg-pocmon-cve-2024-38856-9138099
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-38856. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-38856
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/webtools/control/forgotPassword/ProgramExport'
cs-uri-query|contains|all:
- 'groovyProgram=throw new Exception(''id''.execute().text)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2024.38856
title: Apache Software Foundation Apache OFBiz exploit attempt (CVE-2024-38856)
id: gg-pocmon-cve-2024-38856-9572923
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-38856. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-38856
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/webtools/control/forgotPassword/ProgramExport'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2024.38856