Skip to main content
CVE Radar
CISA KEVcriticalRemote Code Execpublic exploit

CVE-2020-9054

CVE-2020-9054 — ZyXEL NAS products running firmware version 5.21 and earlier are vulnerable to pre-authentication command injection in weblogin.cgi

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

Published Updated Sources: NVD, ZyXEL (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Confirmed

CISA KEV, listed Mar 25, 2022

EPSS

100%

top of FIRST's scoreset

Affects

Zyxel

13 products listed

CVSS base

9.8

critical · 2 sources

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

Active

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Remediation

The vendor's own words where we have them.

ZyXEL has made firmware updates available for NAS326, NAS520, NAS540, NAS542, ATP100, ATP200, ATP500, ATP800, USG20-VPN, USG20W-VPN, USG40, USG40W, USG60, USG60W, USG110, USG210, USG310, USG1100, USG1900, USG2200, VPN50, VPN100, VPN300, VPN1000, ZyWALL110, ZyWALL310, and ZyWALL1100 devices.

CISA required action

Apply updates per vendor instructions.

Federal deadline Apr 15, 2022 — passed 1,694 days ago

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Treat as emergency remediation because CISA KEV status is present.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
ZyxelNAS326V5.21(AAZF.7)C0Vulnerable
ZyxelNAS520V5.21(AASZ.3)C0Vulnerable
ZyxelNAS540V5.21(AATB.4)C0Vulnerable
ZyxelNAS542V5.21(ABAG.4)C0Vulnerable
ZyxelNSA210allVulnerable
ZyxelNSA220allVulnerable
ZyxelNSA220+allVulnerable
ZyxelNSA221allVulnerable
ZyxelNSA310V4.75(AALH.2)C0Vulnerable
ZyxelNSA320allVulnerable
ZyxelNSA320SV4.75(AANV.2)C0Vulnerable
ZyxelNSA325V4.81(AAAJ.1)C0Vulnerable

Attack characteristics

The CVSS vector, decoded. It describes the attack, not your exposure to it.

Availability

High

Confidentiality

High

Integrity

High

Scope

Unchanged

Attack Complexity

Low

Attack Vector

Network

Privileges Req

None

User Interaction

None

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
9.8CVSS 3.1critical3.95.9NVD, CNA, GHSA
10.0CVSS 2.0high1010NVD

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

What this weakness leads to

MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.

MITRE

CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • Execute Unauthorized Code or Commands
  • DoS: Crash, Exit, or Restart
  • Read Files or Directories
  • Modify Files or Directories

Mitigation: If at all possible, use library calls rather than external processes to recreate the desired functionality.

Weakness & attack patterns

  • CWE-78OS Command Injection

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

CAPEC-15 · Command DelimitersCAPEC-88 · OS Command InjectionCAPEC-43 · Exploiting Multiple Input Interpretation LayersCAPEC-108 · Command Line Execution through SQL InjectionCAPEC-6 · Argument Injection

CISA KEV details

CISA lists a CVE here once it has evidence of exploitation against real targets.

Listed

Mar 25, 2022

Federal deadline

Apr 15, 2022

passed 1,694 days ago

Ransomware use

Unknown

CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

PoC repos

21

2 of the 5 sampled are weaponized

Exploit entries

8

Exploit-DB and CTI exploit indexes

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Prioritize edge telemetry for network-reachable NAS326, NAS520, NAS540, NAS542, NSA210, NSA220, NSA220+, NSA221, NSA310, NSA320, NSA320S, NSA325, NSA325v2.
  • Monitor for scanner or exploit-pattern traffic after 29 public PoC repositories were reported.
web/proxy/WAF logsapplication logsnetwork IDS/IPSEDR process telemetryhost service logs

Groups associated with this CVE

Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.

KinsingTeamTNT
  • ip74.194.191.5277

    blocklist.net.ua-Firehol · May 5, 2025

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Added · CVSS 3.1 9.8 (AV:N)

    Oct 8, 2026 · NVD

  3. 2025
  4. Bulletin released on NIST.

    Oct 16, 2025 · SOCRadar CTI

  5. Bulletin released on NIST.

    Oct 16, 2025 · SOCRadar CTI

  6. Bulletin released on Mitre.

    Jul 28, 2025 · SOCRadar CTI

  7. Bulletin released on NIST.

    Feb 7, 2025 · SOCRadar CTI

  8. 2023
  9. CVE is exploited. "Ostorlab/KEV"

    Dec 26, 2023 · SOCRadar CTI

  10. CVE is exploited. "ARPSyndicate/cvemon"

    Dec 11, 2023 · SOCRadar CTI

  11. CVE is exploited. "HimmelAward/Goby_POC"

    Dec 11, 2023 · SOCRadar CTI

  12. CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"

    Dec 11, 2023 · SOCRadar CTI

  13. CVE is exploited. "darrenmartyn/CVE-2020-9054"

    Dec 11, 2023 · SOCRadar CTI

  14. CVE is exploited. "nomi-sec/PoC-in-GitHub"

    Dec 11, 2023 · SOCRadar CTI

  15. CVE is exploited. "soosmile/POC"

    Dec 11, 2023 · SOCRadar CTI

  16. 2022
  17. Added · GHSA-w6h5-rjp3-hxvc published (high)

    May 24, 2022 · GitHub Security Advisory

  18. Added to CISA KEV catalog

    Mar 25, 2022 · CISA

  19. CVE is exploited. "Zyxel Multiple NAS Devices OS Command Injection Vulnerability"

    Mar 25, 2022 · SOCRadar CTI

  20. 2020
  21. Initial · CVE published

    Mar 4, 2020 · NVD

Source activity

Readings a source repeats on a schedule, counted rather than listed.

  • 13×Github ReposMar 30, 2021 – Dec 11, 2023 · SOCRadar CTI
  • 2×TweetsJun 8, 2023 – Apr 4, 2025 · SOCRadar CTI
  • 1×CVE modified by NIST: CVSS v2 metrics updated.Feb 7, 2025 · SOCRadar CTI
  • 1×SVRS is calculated.Jul 4, 2022 · SOCRadar CTI

References

8 on the record

Coverage

1 story from the feeds we poll

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • Only the 1 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2020-9054 is ZyXEL NAS products running firmware version 5.21 and earlier are vulnerable to pre-authentication command injection in weblogin.cgi, a critical vulnerability affecting NAS326, NAS520, NAS540, NAS542, NSA210, NSA220, NSA220+, NSA221, NSA310, NSA320, NSA320S, NSA325, NSA325v2 from Zyxel. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 29 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.