CVE-2024-36104
published 2024-06-04CVE-2024-36104: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.14…
PriorityP190critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
87.88%
99.7th percentile
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.14.
Users are recommended to upgrade to version 18.12.14, which fixes the issue.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | ofbiz | < 18.12.14 | 18.12.14 |
| apache | ofbiz | — | — |
| apache_software_foundation | apache_ofbiz | < 18.12.14 | 18.12.14 |
Detection & IOCsextracted from sources · hover to see the quote
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Apache OFBiz Directory Traversal Remote Code Execution Attempt (CVE-2024-36104)"; flow:established,to_server; pcre:"/(?:\%2e|\x2e|\x3b|\%3b){1,2}(?:\%2f|\x2f)/I"; http.method; content:"POST"; http.uri; content:"/webtools/control"; startswith; content:"ProgramExport"; fast_pattern; endswith; http.request_body; content:"groovyProgram|3d|"; startswith; reference:url,issues.apache.org/jira/browse/OFBIZ-13092; reference:cve,2024-36104; classtype:attempted-admin; sid:2053485; rev:2; metadata:affected_product Apache_OFBiz, created_at 2024_06_12, cve CVE_2024_36104, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_11_26, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)- →Look for POST requests to /webtools/control/ paths containing path traversal sequences (%2e, %2f, %3b, semicolons) followed by 'ProgramExport' in the URI, combined with 'groovyProgram=' in the request body.
- →Exploit responses may contain 'java.lang.Exception' in the HTTP response body, indicating successful Groovy code execution via the ProgramExport endpoint. ↗
- →The attack uses the forgotPassword (or other public view) endpoint as a bypass prefix with encoded path traversal (e.g., /;%2e%2e/ or /%2e/%2e/) to reach the restricted ProgramExport endpoint without authentication. ↗
- →Shodan/FOFA fingerprinting for exposed OFBiz instances: search for http.title:"ofbiz", http.html:"apache ofbiz", or the cookie value 'ofbiz.visitor=' to identify attack surface. ↗
- →Zscaler threat signatures for this CVE are deployed as 'App.Exploit.CVE-2024-36104' under Advanced Threat Protection. ↗
- ·CVE-2024-36104 is closely related to CVE-2024-38856 and CVE-2024-32113; all share the same root cause (controller-view map fragmentation). Patching only one may leave the system vulnerable to the others. Full remediation requires upgrading to OFBiz 18.12.16. ↗
- ·The Nuclei template uses Unicode-escaped Groovy payloads (e.g., \u0074\u0068\u0072...) to evade simple string-match detections; detection rules must account for encoded variants. ↗
- ·Multiple public view endpoints (forgotPassword, showDateTime, TestService, view, main) can be used as the bypass prefix — detection must not be limited to forgotPassword alone. ↗
CVSS provenance
nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vulncheck9.1CRITICAL
vendor_apache9.1CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-77m3-6865-xvqj: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz
ghsa_unreviewed·2024-06-04
CVE-2024-36104 [CRITICAL] CWE-22 GHSA-77m3-6865-xvqj: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.14.
Users are recommended to upgrade to version 18.12.14, which fixes the issue.
VulnCheck
Apache OFBiz Improper Restricted Pathname Limitation Vulnerability
vulncheck·2024·CVSS 9.1
CVE-2024-36104 [CRITICAL] Apache OFBiz Improper Restricted Pathname Limitation Vulnerability
Apache OFBiz Improper Restricted Pathname Limitation Vulnerability
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.14. Users are recommended to upgrade to version 18.12.14, which fixes the issue.
Affected: Apache OFBiz
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://www.fortiguard.com/outbreak-alert/apache-ofbiz-rce
Apache
Apache ofbiz: CVE-2024-36104
vendor_apache·CVSS 9.1
CVE-2024-36104 [CRITICAL] Apache ofbiz: CVE-2024-36104
Apache ofbiz: CVE-2024-36104
; affected releases before 18.12.14; fixed in 18.12.14 with commits d33ce31012 , 474e806816
Suricata
ET WEB_SPECIFIC_APPS Apache OFBiz Directory Traversal Remote Code Execution Attempt (CVE-2024-36104)
suricata·2024-06-12·CVSS 9.1
CVE-2024-36104 [CRITICAL] ET WEB_SPECIFIC_APPS Apache OFBiz Directory Traversal Remote Code Execution Attempt (CVE-2024-36104)
ET WEB_SPECIFIC_APPS Apache OFBiz Directory Traversal Remote Code Execution Attempt (CVE-2024-36104)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Apache OFBiz Directory Traversal Remote Code Execution Attempt (CVE-2024-36104)"; flow:established,to_server; pcre:"/(?:\%2e|\x2e|\x3b|\%3b){1,2}(?:\%2f|\x2f)/I"; http.method; content:"POST"; http.uri; content:"/webtools/control"; startswith; content:"ProgramExport"; fast_pattern; endswith; http.request_body; content:"groovyProgram|3d|"; startswith; reference:url,issues.apache.org/jira/browse/OFBIZ-13092; reference:cve,2024-36104; classtype:attempted-admin; sid:2053485; rev:2; metadata:affected_product Apache_OFBiz, created_at 2024_06_12, cve CVE_2024_36104, deployment Perimeter, deployment Internal, deployment SSLDecrypt
Nuclei
Apache OFBiz - Directory Traversal & Remote Code Execution
nuclei·CVSS 9.1
CVE-2024-36104 [CRITICAL] Apache OFBiz - Directory Traversal & Remote Code Execution
Apache OFBiz - Directory Traversal & Remote Code Execution
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.14. Users are recommended to upgrade to version 18.12.14, which fixes the issue.
Template:
id: CVE-2024-36104
info:
name: Apache OFBiz - Directory Traversal & Remote Code Execution
author: Co5mos
severity: critical
description: |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.14. Users are recommended to upgrade to version 18.12.14, which fixes the issue.
remediation: |
Apply the latest security patches and updates from the vendor to address this vulnerability.
impact
Bleepingcomputer
Apache fixes critical OFBiz remote code execution vulnerability
blogs_bleepingcomputer·2024-09-05·CVSS 9.8
[CRITICAL] Apache fixes critical OFBiz remote code execution vulnerability
## Apache fixes critical OFBiz remote code execution vulnerability
## Sergiu Gatlan
Apache has fixed a critical security vulnerability in its open-source OFBiz (Open For Business) software, which could allow attackers to execute arbitrary code on vulnerable Linux and Windows servers.
OFBiz is a suite of customer relationship management (CRM) and enterprise resource planning (ERP) business applications that can also be used as a Java-based web framework for developing web applications.
Tracked as CVE-2024-45195 and discovered by Rapid7 security researchers, this remote code execution flaw is caused by a forced browsing weakness that exposes restricted paths to unauthenticated direct request attacks.
"An attacker with no valid credentials can exploit missing view authorization checks in
Zscaler
CVE-2024-38856 | ThreatLabz
blogs_zscaler·2024-08-12·CVSS 9.1
[CRITICAL] CVE-2024-38856 | ThreatLabz
Provide users with seamless, secure, reliable access to applications and data.
Build and run secure cloud apps, enable zero trust cloud connectivity, and protect workloads from data center to cloud.
Provide zero trust connectivity for IoT and OT devices and secure remote access to OT systems.
Provide zero trust site-to-site connectivity and reliable access to B2B apps for partners.
Industry Report
Zscaler: A Leader in the 2025 Gartner® Magic Quadrant™ for Security Service Edge (SSE)
USE CASES
INDUSTRY & MARKET SOLUTIONS
PARTNERS
TECHNOLOGY PARTNERS
Resource Center
Events & Trainings
Security Research & Services
Tools
Community & Support
CXO REVOLUTIONARIES
Amplifying the voices of real-world digital and zero trust pioneers
Discover how it began and where it’s going
Meet o
http://www.openwall.com/lists/oss-security/2024/06/03/1https://issues.apache.org/jira/browse/OFBIZ-13092https://lists.apache.org/thread/sv0xr8b1j7mmh5p37yldy9vmnzbodz2ohttps://ofbiz.apache.org/download.htmlhttps://ofbiz.apache.org/security.htmlhttp://www.openwall.com/lists/oss-security/2024/06/03/1https://issues.apache.org/jira/browse/OFBIZ-13092https://lists.apache.org/thread/sv0xr8b1j7mmh5p37yldy9vmnzbodz2ohttps://ofbiz.apache.org/download.htmlhttps://ofbiz.apache.org/security.html
2024-06-04
Published
Exploited in the wild