CVE & CISA-KEV Catalog

CVE-2020-9054

CRITICALCISA KEVEPSS 100th pctl
9.8
CVSS v3
NVD

Description

Multiple ZyXEL network-attached storage (NAS) devices running firmware version 5.21 contain a pre-authentication command injection vulnerability, which may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable device. ZyXEL NAS devices achieve authentication by using the weblogin.cgi CGI executable. This program fails to properly sanitize the username parameter that is passed to it. If the username parameter contains certain characters, it can allow command injection with the privileges of the web server that runs on the ZyXEL device. Although the web server does not run as the root user, ZyXEL devices include a setuid utility that can be leveraged to run any command with root privileges. As such, it should be assumed that exploitation of this vulnerability can lead to remote code execution with root privileges. By sending a specially-crafted HTTP POST or GET request to a vulnerable ZyXEL device, a remote, unauthenticated attacker may be able to execute arbitrary code on the device. This may happen by directly connecting to a device if it is directly exposed to an attacker. However, there are ways to trigger such crafted requests even if an attacker does not have direct connectivity to a vulnerable devices. For example, simply visiting a website can result in the compromise of any ZyXEL device that is reachable from the client system. Affected products include: NAS326 before firmware V5.21(AAZF.7)C0 NAS520 before firmware V5.21(AASZ.3)C0 NAS540 before firmware V5.21(AATB.4)C0 NAS542 before firmware V5.21(ABAG.4)C0 ZyXEL has made firmware updates available for NAS326, NAS520, NAS540, and NAS542 devices. Affected models that are end-of-support: NSA210, NSA220, NSA220+, NSA221, NSA310, NSA310S, NSA320, NSA320S, NSA325 and NSA325v2

How to fix

Remediation Available
atp100 firmwareNVD
Affected:>= 4.35, < 4.35(abps.3)c0Fixed in:4.35(abps.3)c0CVE-2020-9054derived from NVD
atp200 firmwareNVD
Affected:>= 4.35, < 4.35(abfw.3)c0Fixed in:4.35(abfw.3)c0CVE-2020-9054derived from NVD
atp500 firmwareNVD
Affected:>= 4.35, < 4.35(abfu.3)c0Fixed in:4.35(abfu.3)c0CVE-2020-9054derived from NVD
atp800 firmwareNVD
Affected:>= 4.35, < 4.35(abiq.3)c0Fixed in:4.35(abiq.3)c0CVE-2020-9054derived from NVD
nas326 firmwareNVD
Affected:< 5.21(aazf.7)c0Fixed in:5.21(aazf.7)c0CVE-2020-9054derived from NVD
nas520 firmwareNVD
Affected:< 5.21(aasz.3)c0Fixed in:5.21(aasz.3)c0CVE-2020-9054derived from NVD
nas540 firmwareNVD
Affected:< 5.21(aatb.4)c0Fixed in:5.21(aatb.4)c0CVE-2020-9054derived from NVD
nas542 firmwareNVD
Affected:< 5.21(abag.4)c0Fixed in:5.21(abag.4)c0CVE-2020-9054derived from NVD
usg1100 firmwareNVD
Affected:>= 4.35, < 4.35(aapk.3)c0Fixed in:4.35(aapk.3)c0CVE-2020-9054derived from NVD
usg110 firmwareNVD
Affected:>= 4.35, < 4.35(aaph.3)c0Fixed in:4.35(aaph.3)c0CVE-2020-9054derived from NVD
usg1900 firmwareNVD
Affected:>= 4.35, < 4.35(aapl.3)c0Fixed in:4.35(aapl.3)c0CVE-2020-9054derived from NVD
usg20-vpn firmwareNVD
Affected:>= 4.35, < 4.35(abaq.3)c0Fixed in:4.35(abaq.3)c0CVE-2020-9054derived from NVD
usg20w-vpn firmwareNVD
Affected:>= 4.35, < 4.35(abar.3)c0Fixed in:4.35(abar.3)c0CVE-2020-9054derived from NVD
usg210 firmwareNVD
Affected:>= 4.35, < 4.35(aapi.3)c0Fixed in:4.35(aapi.3)c0CVE-2020-9054derived from NVD
usg2200 firmwareNVD
Affected:>= 4.35, < 4.35(abae.3)c0Fixed in:4.35(abae.3)c0CVE-2020-9054derived from NVD
usg310 firmwareNVD
Affected:>= 4.35, < 4.35(aapj.3)c0Fixed in:4.35(aapj.3)c0CVE-2020-9054derived from NVD
usg40 firmwareNVD
Affected:>= 4.35, < 4.35(aala.3)c0Fixed in:4.35(aala.3)c0CVE-2020-9054derived from NVD
usg40w firmwareNVD
Affected:>= 4.35, < 4.35(aalb.3)c0Fixed in:4.35(aalb.3)c0CVE-2020-9054derived from NVD
usg60 firmwareNVD
Affected:>= 4.35, < 4.35(aaky.3)c0Fixed in:4.35(aaky.3)c0CVE-2020-9054derived from NVD
usg60w firmwareNVD
Affected:>= 4.35, < 4.35(aakz.3)c0Fixed in:4.35(aakz.3)c0CVE-2020-9054derived from NVD
vpn1000 firmwareNVD
Affected:>= 4.35, < 4.35(abip.3)c0Fixed in:4.35(abip.3)c0CVE-2020-9054derived from NVD
vpn100 firmwareNVD
Affected:>= 4.35, < 4.35(abfv.3)c0Fixed in:4.35(abfv.3)c0CVE-2020-9054derived from NVD
vpn300 firmwareNVD
Affected:>= 4.35, < 4.35(abfc.3)c0Fixed in:4.35(abfc.3)c0CVE-2020-9054derived from NVD
vpn50 firmwareNVD
Affected:>= 4.35, < 4.35(abhl.3)c0Fixed in:4.35(abhl.3)c0CVE-2020-9054derived from NVD
zywall1100 firmwareNVD
Affected:>= 4.35, < 4.35(aaac.3)c0Fixed in:4.35(aaac.3)c0CVE-2020-9054derived from NVD
zywall110 firmwareNVD
Affected:>= 4.35, < 4.35(aaaa.3)c0Fixed in:4.35(aaaa.3)c0CVE-2020-9054derived from NVD
zywall310 firmwareNVD
Affected:>= 4.35, < 4.35(aaab.3)c0Fixed in:4.35(aaab.3)c0CVE-2020-9054derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

99.99%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

Known Exploited Vulnerability (CISA KEV)

Zyxel Multiple NAS Devices OS Command Injection Vulnerability

Multiple Zyxel network-attached storage (NAS) devices contain a pre-authentication command injection vulnerability, which may allow a remote, unauthenticated attacker to execute arbitrary code.

Apply updates per vendor instructions.

Remediation due: 2022-04-15

References

Vendor Advisory1
Government Resource1

Related Vulnerabilities

Other CWE-78 (OS Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2014-6271Critical9.8100%KEVFix
CVE-2019-16920Critical9.8100%KEV-
CVE-2022-44877Critical9.8100%KEVFix
CVE-2020-8515Critical9.8100%KEV-
CVE-2024-4577Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2020-9054
CVE-2020-9054 severity badge

Markdown

[![CVE-2020-9054](https://tridentstack.com/cve/badge/CVE-2020-9054.svg)](https://tridentstack.com/cve/CVE-2020-9054)

HTML

<a href="https://tridentstack.com/cve/CVE-2020-9054"><img src="https://tridentstack.com/cve/badge/CVE-2020-9054.svg" alt="CVE-2020-9054"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-10.