id: CVE-2020-20285
info:
name: zzcms - Reflected XSS
author: edoardottt
severity: medium
description: |
There is a XSS in the user login page in zzcms 2019. Users can inject js code by the referer header via user/login.php
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
metadata:
fofa-query: zzcms
verified: "true"
tags: cve,cve2020,zzcms,xss
requests:
- raw:
- |
GET /user/login.php HTTP/1.1
Host: {{Hostname}}
Referer: xss"/>
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'fromurl" type="hidden" value="xss"/>'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200