Apache OFBiz team patches critical RCE vulnerability (CVE-2024-45195)
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2024-32113 | Critical Unauthenticated Path Traversal in Apache OFBiz Apache OFBiz before 18.12.13 contains a path traversal vulnerability (CWE-22) in which improper limitation of a pathname allows access to restricted directories outside the intended scope. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), the flaw can be triggered remotely by an unauthenticated attacker with no user interaction. Successful exploitation has high impact on confidentiality, integrity, and availability: an attacker can reach files and directories that should be restricted, and the critical 9.8 score indicates potential full compromise of the affected server. Any organization running an affected version of the open-source Apache OFBiz ERP/enterprise automation suite is exposed. The flaw is being actively exploited: CISA added it to the Known Exploited Vulnerabilities catalog on 2024-08-07, and EPSS assigns a 99.4% probability of exploitation within 30 days (100th percentile), amid a wave of critical OFBiz flaws patched in 2024. Do: Upgrade all Apache OFBiz instances to version 18.12.13 or later immediately, per the vendor fix and CISA KEV required action. Because the flaw is under active exploitation, prioritize any OFBiz servers exposed to the internet, hunt for signs of compromise on unpatched systems, and restrict network access to OFBiz until patched. | 9.8 | 99% | KEV |
| moderateseveral thousand internet-exposed OFBiz instances (estimate, on the order of 10^3) | |
| CVE-2024-36104 | 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. NVD description · AI analysis pending | 9.1 | 88% |
| — | ||
| CVE-2024-38856 | Pre-auth RCE via Incorrect Authorization in Apache OFBiz CVE-2024-38856 is an incorrect authorization flaw (CWE-863) in Apache OFBiz, an open-source ERP and e-commerce platform, affecting all versions through 18.12.14. On deployments where screen definitions do not explicitly verify a user's permissions because they rely on the configuration of the endpoints serving them, unauthenticated endpoints can be made to execute the screens' rendering code. As coverage of the fix describes, this can be leveraged for unauthenticated (pre-auth) remote code execution on the OFBiz server, consistent with the critical 9.8 CVSS score. Any organization running Apache OFBiz 18.12.14 or earlier, especially with the OFBiz web interface exposed to the internet, is affected. Exploitation is confirmed in the wild: CISA added the flaw to the Known Exploited Vulnerabilities catalog on 2024-08-27 amid active exploitation reports, and EPSS estimates a 99.4% probability of exploitation within 30 days. Do: Upgrade all Apache OFBiz servers to version 18.12.15 or later immediately; the KEV listing requires applying vendor mitigations or discontinuing use within the required deadline, and newer OFBiz releases also address additional 2024 flaws (e.g., CVE-2024-45195), so updating to the latest available version is prudent. Inventory internet-facing OFBiz deployments and restrict unauthenticated access to OFBiz web endpoints where possible. Hunt for signs of exploitation (unexpected screen/view rendering requests to unauthenticated endpoints and follow-on activity on OFBiz hosts), since the flaw is being actively exploited. | 9.8 | 99% | KEV |
| moderate~several thousand internet-exposed Apache OFBiz instances | |
| CVE-2024-45195 +1 in the same advisory: …45507 | Forced Browsing (Improper Authorization) in Apache OFBiz Apache OFBiz, the open-source ERP and e-commerce framework from the Apache Software Foundation, is affected by a forced browsing vulnerability (CWE-425), meaning the application fails to properly verify a requester's authorization for certain restricted resources. A remote attacker triggers the flaw by directly requesting protected URLs or endpoints (navigating straight to them rather than through the intended application flow), thereby bypassing access-control checks. Successful exploitation grants the attacker unauthorized access to the affected OFBiz instance, as described by CISA; the available data does not detail what specific functionality or data is exposed. Any organization running Apache OFBiz, particularly internet-facing deployments, is affected, though no specific version range is listed in the available data. The flaw was added to CISA's Known Exploited Vulnerabilities catalog on 2025-02-04, indicating confirmed exploitation in the wild, and EPSS assigns it an approximately 100% probability of exploitation within 30 days (top percentile); no public proof-of-concept is known. Do: Apply the mitigations specified in CISA's required action and per Apache's advisory, or discontinue use of the product if mitigations are unavailable; upgrade to the fixed OFBiz release identified in the vendor advisory. Check OFBiz access logs for direct, unauthenticated requests to restricted URLs, especially around and after the 2025-02-04 KEV listing, and restrict internet exposure of OFBiz front-ends and administrative screens. | 7.5 group max | 100% | KEV |
| moderate~ a few thousand internet-exposed OFBiz instances (public scans); total installs including internal deployments unknown |
Full article297 words · extracted from helpnetsecurity.com · click to collapse
For the fourth time in the last five months, Apache OFBiz users have been advised to upgrade their installations to fix a critical flaw (CVE-2024-45195) that could lead to unauthenticated remote code execution.

About CVE-2024-45195
Apache OFBiz is an open-source suite for enterprise resource planning (ERP), which contains web applications for human resources management, customer relationship management, accounting, marketing, etc.
“Apache OFBiz is used by numerous large organizations, and previously disclosed vulnerabilities for it have seen exploitation in the wild,” Rapid7 researcher Ryan Emmons noted.
CVE-2024-45195 was reported by Emmons and several other researchers, and it’s a direct request flaw, i.e., a vulnerability stemming from the web application inadequately enforcing authorization checks.
It affects Apache OFBiz versions before v18.12.16, and it can be exploited by unauthenticated attackers to execute arbitrary code on the underlying Windows or Linux server.
Researchers demonstrate exploitation
“Exploitation [of CVE-2024-45195] is facilitated by bypassing previous patches for CVE-2024-32113, CVE-2024-36104, and CVE-2024-38856,” Emmons explained.
CVE-2024-32113 and CVE-2024-36104 have been categorized as patch traversal flaws, and CVE-2024-38856 as an incorrect authorization issue (as explained by SonicWall’s Capture Labs researchers).
Based on Rapid7’s analysis, all these vulnerabilities are, essentially, one and the same, with the same root cause: the fragmented state of the application’s controller and view map.
Unfortunately, patches for the three flaws were incomplete, and Rapid7 researchers were able to desynchronize the controller-view map state so they could dump all usernames, passwords, and credit card numbers stored by Apache OFBiz into a web-accessible directory, but also achieve remote code execution.
CVE-2024-45195 has been fixed – along with CVE-2024-45507, a server-side request forgery (SSRF) code injection vulnerability – in Apache OFBiz version 18.12.16.

Subscribe to our breaking news e-mail alert to never miss out on the latest breaches, vulnerabilities and cybersecurity threats. Subscribe here!

Text extracted automatically; images, tables and formatting may be missing. Original: https://www.helpnetsecurity.com/2024/09/06/cve-2024-45195/