CVE DatabaseCVE-2023-27992
한국어 권고문 →
CVE-2023-279929.8/CRITICALCISA KEVCWE-78CWE-78

Zyxel NAS Pre-Authentication Remote Code Execution (RCE) Vulnerability Advisory (CVE-2023-27992)

⚡ Jump to Patch
Affected Vendors
zyxel
Affected Components
nas326, nas540, nas542
Published Date
2023-06-19
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
82.3%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Zyxel NAS326 (prior to V5.21(AAZF.14)C0), NAS540 (prior to V5.21(AATB.11)C0), and NAS542 (prior to V5.21(ABAG.11)C0)

Impact

Unauthenticated remote attackers can execute arbitrary OS commands with root privileges by sending crafted HTTP requests, leading to complete system compromise

Mitigation

Apply the official firmware updates immediately and restrict external internet access to the NAS management interface

Affected Products & Version Scope

Zyxel NAS326 (prior to V5.21(AAZF.14)C0), NAS540 (prior to V5.21(AATB.11)C0), and NAS542 (prior to V5.21(ABAG.11)C0)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official firmware updates provided by Zyxel immediately. Verify your current firmware version and upgrade to the patched versions.

bash
# Check current firmware version on the device
cat /etc/issue
# Or query system information
sysinfo

# Target Safe Versions:
# NAS326: V5.21(AAZF.14)C0 or later
# NAS540: V5.21(AATB.11)C0 or later
# NAS542: V5.21(ABAG.11)C0 or later

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, block external access to the web administration ports (80, 443) and restrict access to trusted internal IP ranges only.

bash
# Restrict web management access using iptables
iptables -A INPUT -p tcp -s 192.168.1.0/24 --dport 443 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP
iptables -A INPUT -p tcp -s 192.168.1.0/24 --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP

3. Log Audit & IoC Verification Commands

Inspect web server access logs and active processes for signs of command injection attempts.

bash
# Scan web logs for common command injection patterns
grep -E '(\||;|\&|wget|curl|sh|bash)' /var/log/apache2/access.log /var/log/nginx/access.log 2>/dev/null

# Check for suspicious active processes running on the system
ps aux | grep -E '(wget|curl|sh -c|nc -e)'
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Due to active exploitation in the wild, immediately update your Zyxel NAS firmware to the latest patched version and disable public internet access to the management console.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2023-27992) is a critical pre-authentication command injection vulnerability in the web management interface of Zyxel NAS devices. The root cause lies in the improper sanitization of user-supplied input before passing it to system shell execution functions (CWE-78). Because this occurs prior to authentication, an attacker does not need valid credentials to exploit this flaw.

2. Exploitation Mechanics & Attack Scenario

An attacker sends a specially crafted HTTP request (typically POST or GET) targeting vulnerable CGI scripts or API endpoints on the NAS web server. By embedding shell metacharacters (such as ;, &, or |) into the request parameters, the attacker forces the underlying operating system to execute arbitrary commands under the context of the web server user (often root). This allows for immediate remote code execution without any user interaction.

3. Infrastructure & Business Impact

With a CVSS score of 9.8, this vulnerability poses an extreme risk. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Successful exploitation can lead to complete data exfiltration, ransomware deployment, and unauthorized access to the internal network, using the compromised NAS as a pivot point or botnet node.

Official Vendor Advisories & References

NVD Original English Description

The pre-authentication command injection vulnerability in the Zyxel NAS326 firmware versions prior to V5.21(AAZF.14)C0, NAS540 firmware versions prior to V5.21(AATB.11)C0, and NAS542 firmware versions prior to V5.21(ABAG.11)C0 could allow an unauthenticated attacker to execute some operating system (OS) commands remotely by sending a crafted HTTP request.

Frequently Asked SecOps Questions (CVE-2023-27992)

FAQ

Q1. How critical is CVE-2023-27992 and is it actively exploited in the wild?

CVE-2023-27992 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 82.3%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2023-27992?

Primary impacted vendors include zyxel across nas326, nas540, nas542. Scope summary: Zyxel NAS326 (prior to V5.21(AAZF.14)C0), NAS540 (prior to V5.21(AATB.11)C0), and NAS542 (prior to V5.21(ABAG.11)C0)

Q3. What temporary mitigations or workarounds exist for CVE-2023-27992 before patching?

[Mitigation] Apply the official firmware updates immediately and restrict external internet access to the NAS management interface Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2023-27992

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (zyxel)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2023-27992 Zyxel NAS Pre-Authentication Remote Code Execution (RCE) Vulnerability Advisory (CVE-2023-27992) (CVSS 9.8) - Patch & Workaround | CVE Pulse