nuclei-templates/http/cves/2020/CVE-2020-9496.yaml

60 lines
2.0 KiB
YAML

id: CVE-2020-9496
info:
name: Apache OFBiz 17.12.03 - Cross-Site Scripting
author: dwisiswant0
severity: medium
description: Apache OFBiz 17.12.03 contains cross-site scripting and unsafe deserialization vulnerabilities via an XML-RPC request.
remediation: |
Apply the latest security patches or upgrade to a non-vulnerable version of Apache OFBiz.
reference:
- http://packetstormsecurity.com/files/158887/Apache-OFBiz-XML-RPC-Java-Deserialization.html
- http://packetstormsecurity.com/files/161769/Apache-OFBiz-XML-RPC-Java-Deserialization.html
- https://securitylab.github.com/advisories/GHSL-2020-069-apache_ofbiz
- https://s.apache.org/l0994
- https://nvd.nist.gov/vuln/detail/CVE-2020-9496
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2020-9496
cwe-id: CWE-502
epss-score: 0.97405
epss-percentile: 0.99901
cpe: cpe:2.3:a:apache:ofbiz:17.12.03:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: ofbiz
tags: ofbiz,packetstorm,cve,cve2020,apache,java
http:
- raw:
- |
POST /webtools/control/xmlrpc HTTP/1.1
Host: {{Hostname}}
Origin: http://{{Hostname}}
Content-Type: application/xml
<?xml version="1.0"?><methodCall><methodName>ProjectDiscovery</methodName><params><param><value>dwisiswant0</value></param></params></methodCall>
matchers-condition: and
matchers:
- type: word
part: body
words:
- "faultString"
- "No such service [ProjectDiscovery]"
- "methodResponse"
condition: and
- type: word
part: header
words:
- "Content-Type: text/xml"
- type: status
status:
- 200
# digest: 490a004630440220348c535cd121557feb419c9a29318760e21ac1afcebad9f06a917a387feab474022034c946de3461dae0ad3a01d46fc13ffed96df7d3810611a1b5124f18a76713fa:922c64590222798bb761d5b6d8e72950