Back to the CVE list
CVE-2020-9054 CISA KEV · Actively exploited

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

CVSS score

9.8

EPSS probability

%100.0

Risk score

19.6

Published

6 y ago

Mitigation available

Apply updates per vendor instructions.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach CVE AI Research

CVE-2020-9054 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.

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

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2020-9054 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1zyxelnas326 View
2zyxelnas520 View
3zyxelnas540 View
4zyxelnas542 View
5zyxelNSA210 View
6zyxelNSA220 View
7zyxelNSA221 View
8zyxelNSA310 View
9zyxelNSA320 View
10zyxelNSA320S View
11zyxelNSA325 View
12zyxelNSA325v2 View
13zyxelnas326 firmware View
14zyxelnas326 View
15zyxelnas520 firmware View
16zyxelnas520 View
17zyxelnas540 firmware View
18zyxelnas540 View
19zyxelnas542 firmware View
20zyxelnas542 View
21zyxelatp100 firmware View
22zyxelatp100 View
23zyxelatp200 firmware View
24zyxelatp200 View
25zyxelatp500 firmware View
26zyxelatp500 View
27zyxelatp800 firmware View
28zyxelatp800 View
29zyxelusg20-vpn firmware View
30zyxelusg20-vpn View
31zyxelusg20w-vpn firmware View
32zyxelusg20w-vpn View
33zyxelusg40 firmware View
34zyxelusg40 View
35zyxelusg40w firmware View
36zyxelusg40w View
37zyxelusg60 firmware View
38zyxelusg60 View
39zyxelusg60w firmware View
40zyxelusg60w View
41zyxelusg110 firmware View
42zyxelusg110 View
43zyxelusg210 firmware View
44zyxelusg210 View
45zyxelusg310 firmware View
46zyxelusg310 View
47zyxelusg1100 firmware View
48zyxelusg1100 View
49zyxelusg1900 firmware View
50zyxelusg1900 View
51zyxelusg2200 firmware View
52zyxelusg2200 View
53zyxelvpn50 firmware View
54zyxelvpn50 View
55zyxelvpn100 firmware View
56zyxelvpn100 View
57zyxelvpn300 firmware View
58zyxelvpn300 View
59zyxelvpn1000 firmware View
60zyxelvpn1000 View
61zyxelzywall110 firmware View
62zyxelzywall110 View
63zyxelzywall310 firmware View
64zyxelzywall310 View
65zyxelzywall1100 firmware View
66zyxelzywall1100 View
67zyxelMultiple Network-Attached Storage (NAS) Devices View
Total affected vendors: 1|Products: 67

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
10.0CVSS V2—AV:N/AC:L/Au:N/C:C/I:C/A:CNVD
9.8CVSS V31CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
9.8CVSS V3_1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE ADP

Patch and Remediation Guide

Solution & Remediation Advisory

Workaround

Resmî yama doğrulanamadı; geçici azaltım veya workaround mevcut.

canonical

Apply updates per vendor instructions.

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Until a patch is confirmed, follow the vendor advisory; do not read an unknown status as “no patch”.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

CVE-2020-9054 : the database holds 1 public PoC/exploit sources for it. For direct links to the sources, open the Public Exploits tab.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-9054 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-9054 weaknesses.

Attack Vector and Accessibility

ExposureAğ üzerinden
PermissionsGerekmiyor
UserGerekmiyor

Official Sources and Advisories

CVSS Vector Radar Chart

9.8 / 10
Attack VectorNetworkComplexityLowPrivilegesNoneUser Interact.NoneConfidentialityLowIntegrityNoneAvailabilityHigh

Vulnerability Scoring Details

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone required
User InteractionNone required
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)None
Availability (Erişilebilirlik)High

Geçici çözüm

Resmî yama doğrulanamadı; geçici azaltım veya workaround mevcut.

Follow the vendor

Z
zyxel logo
zyxel

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2020-9054"