CVE-2021-46387 Cross-site scripting in n/a
An attacker can execute arbitrary JavaScript via insecure URI handling in ZyXEL ZyWALL appliances, enabling session hijacking and clipboard attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-46387?
CVE-2021-46387 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2021-46387?
It affects 1 product.
Products include Zyxel Zywall 2 Plus Internet Security Appliance Firmware.
How do I fix CVE-2021-46387?
No fix has been published for CVE-2021-46387 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-46387 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-46387 exists.
Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.
Sources
Also known as GHSA-f4h9-4w7g-w29c.