Apache OFBiz versions prior to 18.12.13 are vulnerable to a path traversal vulnerability (CVE-2024-32113). The vulnerable endpoint /webtools/control/forgotPassword allows an attacker to access the ProgramExport endpoint which in turn allows for remote code execution in the context of the user running the application. This was patched in 18.12.14. It was then discovered that the use of the path traversal vulnerability is not required in order to access the vulnerable endpoint ProgramExport. CVE-2024-38856 was given for this Incorrect Authorization vulnerability and was patched in 18.12.15. This module was originally written the exploit CVE-2024-32113, but upon the discovery of CVE-2024-38856 the module updated to not exploit the path traversal vulnerability allowing for exploitation on 18.12.14 as well.
Vulnerability
CVE-2024-38856
Apache OFBiz: Unauthenticated endpoint could allow execution of screen rendering code
Vulnerability details
- Score
- 8.1
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NDescription
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).
CVE ProgramExploit source choices
10 sourcesApache OFBiz RCE Scanner & Exploit (CVE-2024-38856)
CVE-2024-38856 Exploit
Apache OFBiz CVE-2024-38856
CVE-2024-38856: Apache OFBiz remote code execution Scanner & Exploit
Perform With Massive Apache OFBiz Zero-Day Scanner & RCE
12442rf/poc source repository
Exploit for Apache OFBiz - CVE-2024-38856
Tentang Pemindai & Eksploitasi Apache OFBiz RCE (CVE-2024-38856)
Exploit for CVE-2024-38856 affecting Apache OFBiz versions before 18.12.15