CVE-2020-9054 — Zyxel Multiple NAS Devices OS Command Injection Vulnerability

CVE-2020-9054

Zyxel NAS Devices — Pre-Auth Root Command Injection, Weaponized by the Mukashi Mirai Variant Within Days

What Are Zyxel NAS Devices?

Zyxel's NAS product line targets home users and small businesses looking for affordable network-attached storage — file sharing, backup, and media serving on the local network, frequently exposed to the internet by end users for remote access to their files. That combination — consumer-grade device, weak default security practices, and common internet exposure — makes Zyxel NAS units a recurring target for IoT botnet operators.

Affected Versions

Product line Status
Supported Zyxel NAS models (per vendor advisory) Firmware patch available — apply per Zyxel's advisory
End-of-life Zyxel NAS models No patch available — replace or isolate from the network

Technical Details

The vulnerability (CWE-78, OS command injection) is in the weblogin.cgi component of the NAS web management interface. A crafted username field containing shell metacharacters is passed unsanitized into a system call, allowing an unauthenticated remote attacker to inject and execute arbitrary OS commands with root privileges (CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8 Critical) — no login is required, since the injection occurs in the login handler itself.

Discovery

Reported to Zyxel by external security researchers ahead of the vendor's February 24, 2020 advisory and coordinated patch release.

Exploitation Context

Within weeks of disclosure, Palo Alto Networks' Unit 42 identified Mukashi, a new Mirai-based botnet variant, actively scanning for and exploiting unpatched Zyxel NAS devices to recruit them into a DDoS botnet. The speed of weaponization — a known pattern for IoT command-injection bugs, which are simple to exploit and immediately valuable to botnet operators regardless of the specific device's purpose — is why CISA later added this CVE to KEV.

Remediation

  1. Apply Zyxel's firmware patch for your specific NAS model immediately, per the vendor's security advisory.
  2. If your model is end-of-life with no patch available, replace the device or fully isolate it from the internet — do not rely on obscurity, since Mukashi and similar botnets scan broad IP ranges rather than targeting specific known deployments.
  3. Never expose NAS web management interfaces directly to the internet. Use a VPN for remote access instead of port-forwarding the management interface.
  4. Check for signs of botnet compromise — unexpected outbound traffic, unfamiliar processes, or degraded performance — on any device that has been internet-facing and unpatched since disclosure.

Key Details

PropertyValue
CVE ID CVE-2020-9054
Vendor / Product Zyxel — Multiple Network-Attached Storage (NAS) Devices
NVD Published2020-03-04
NVD Last Modified2025-11-10
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-78 find similar ↗
CISA KEV Added2022-03-25
CISA KEV Deadline2022-04-15
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-04-15. Apply updates per vendor instructions.

Timeline

DateEvent
2020-02-24Zyxel publishes advisory and firmware patches for supported models
2020-03Palo Alto Networks Unit 42 identifies the Mukashi Mirai-variant botnet actively exploiting the flaw
2022-03-25Added to CISA Known Exploited Vulnerabilities catalog
2022-04-15CISA BOD 22-01 remediation deadline