CVE-2020-9496: Apache OFBiz 17.12.03 - Cross-Site Scripting
- Template: CVE-2020-9496
- Name: Apache OFBiz 17.12.03 - Cross-Site Scripting
- Description: Apache OFBiz 17.12.03 contains cross-site scripting and unsafe deserialization vulnerabilities via an XML-RPC request.
- Impact: Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
- Remediation: Apply the latest security patches or upgrade to a non-vulnerable version of Apache OFBiz.
- Severity: medium
- Authors: dwisiswant0
- Tags: cve, cve2020, ofbiz, packetstorm, apache, java, vkev, vuln
- References: 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
- Cves: CVE-2020-9496
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2020/CVE-2020-9496.yaml
- Digest: 4b0a004830460221008b6a7a1c5e20b39dbac7602418c507686c6c133f2d7ebeaef143cd8b064e730302210080f4eb0d958173a547e52de553df604759c210e66e5ad242a39b14060c87b015
- Created at: 2020-08-16T15:59:02Z
- Updated at: 2026-11-20T02:03:43Z
- Age in days: 2291
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-9496.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-502
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.98912
- Epss percentile: 0.99929
- Cpe: cpe:2.3:a:apache:ofbiz:17.12.03:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="ofbiz", app="apache_ofbiz"
- Max-request: 1
- Product: ofbiz
- Shodan-query: http.html:"ofbiz", ofbiz.visitor=
- Vendor: apache
Products
| Product | Indexed | Url |
|---|---|---|
| apache:ofbiz | yes | /v1/products/apache/ofbiz |
Labels
- Name: Apache OFBiz - Reflected XSS & Insecure Deserialization
- Impact: Attackers can execute arbitrary scripts or manipulate data, leading to session hijacking, data tampering, or further exploitation.
- Remediation: Update to the latest version of Apache OFBiz or apply security patches addressing XML-RPC request handling.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: client_script_exec, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2020-9496
- Not known: requirements
```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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
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://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.98912
epss-percentile: 0.99929
cpe: cpe:2.3:a:apache:ofbiz:17.12.03:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: ofbiz
shodan-query:
- http.html:"ofbiz"
- ofbiz.visitor=
fofa-query:
- body="ofbiz"
- app="apache_ofbiz"
tags: cve,cve2020,ofbiz,packetstorm,apache,java,vkev,vuln
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: 4b0a004830460221008b6a7a1c5e20b39dbac7602418c507686c6c133f2d7ebeaef143cd8b064e730302210080f4eb0d958173a547e52de553df604759c210e66e5ad242a39b14060c87b015:922c64590222798bb761d5b6d8e72950
```