cbcvebase.
CVE-2023-4473
published 2023-11-30

CVE-2023-4473: A command injection vulnerability in the web server of the Zyxel NAS326 firmware version V5.21(AAZF.14)C0 and NAS542 firmware version V5.21(ABAG.11)C0 could…

PriorityP190critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWVulnCheck KEV
Exploited in the wild
EPSS
41.35%
98.5th percentile
A command injection vulnerability in the web server of the Zyxel NAS326 firmware version V5.21(AAZF.14)C0 and NAS542 firmware version V5.21(ABAG.11)C0 could allow an unauthenticated attacker to execute some operating system (OS) commands by sending a crafted URL to a vulnerable device.

Affected

4 ranges
VendorProductVersion rangeFixed in
zyxelnas326_firmware<= 5.21\(aazf.14\)c0
zyxelnas326_firmware
zyxelnas542_firmware<= 5.21\(abag.11\)c0
zyxelnas542_firmware

Detection & IOCsextracted from sources · hover to see the quote

path/cmd,/ck6fup6/
path/cmd,/ck6fup6/system_main/show_sysinfo/
path/cmd,/ck6fup6/portal_main/pkg_init_cmd/
path/cmd,/ck6fup6/zylog_main/show_logging_entries/
path/cmd,/ck6fup6/zylog_main/configure_mail_syslog/
path/cmd,/ck6fup6/time_machine_main/setTimeMachineStatus
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Zyxel Authentication Bypass Attempt (CVE-2023-4473)"; flow:established,to_server; http.uri; content:"/cmd,/ck6fup6/"; fast_pattern; startswith; pcre:"/\/(?:favicon.ico|adv,\/cgi-bin\/weblogin\.cgi|desktop,\/(?:file_download\.cgi|cgi-bin\/dlnotify|login\.html|res\/|css\/|utility\/flag\/js)|MyWeb\/|register_main\/setCookie|playzone,\/(?:mobile_login\.html|mobile\/sencha\/|mobile\/images\/|images\/))/R"; reference:url,bugprove.com/knowledge-hub/cve-2023-4473-and-cve-2023-4474-authentication-bypass-and-multiple-blind-os-command-injection-vulnerabilities-in-zyxel-s-nas-326-devices/; reference:cve,2023-4473; classtype:attempted-admin; sid:2052325; rev:3;)
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Zyxel Authentication Bypass Attempt (CVE-2023-4473) - Information Leak via show_sysinfo"; flow:established,to_server; http.uri; content:"/cmd,/ck6fup6/system_main/show_sysinfo/"; fast_pattern; startswith; pcre:"/(?:favicon.ico|adv,\/cgi-bin\/weblogin\.cgi|desktop,\/(?:file_download\.cgi|cgi-bin\/dlnotify|login\.html|res\/|css\/|utility\/flag\/js)|MyWeb\/|register_main\/setCookie|playzone,\/(?:mobile_login\.html|mobile\/sencha\/|mobile\/images\/|images\/))/R"; reference:url,bugprove.com/knowledge-hub/cve-2023-4473-and-cve-2023-4474-authentication-bypass-and-multiple-blind-os-command-injection-vulnerabilities-in-zyxel-s-nas-326-devices/; reference:cve,2023-4473; classtype:attempted-admin; sid:2052326; rev:2;)
  • Authentication bypass (CVE-2023-4473) is detectable by HTTP requests to the /cmd,/ck6fup6/ URI prefix combined with paths normally accessible without authentication (e.g., favicon.ico, weblogin.cgi, login.html, setCookie, mobile paths). Match the broad URI prefix rule (sid:2052325) or the narrower show_sysinfo variant (sid:2052326).
  • Command injection payloads (related chained CVE-2023-4474 / CVE-2024-4474) are identified by a semicolon (0x3b) appearing in URI parameters such as pkgname/cmd, type, mailTo/mailFrom/mailServer, or target_share/share_name — indicating OS command chaining.
  • For the pkg_init_cmd endpoint, look for both 'pkgname=' and 'cmd=' parameters in the URI followed by a semicolon within 100 bytes, indicating command injection (sid:2052362).
  • For the show_logging_entries endpoint, detect 'type=' parameter followed by a semicolon within 100 bytes as the injection indicator (sid:2052363).
  • For the configure_mail_syslog endpoint, use a PCRE to detect any of the mail/schedule parameters (mailTo, mailFrom, mailServer, mailFormat, accountSMTP, passwdSMTP, scheduleDay, scheduleHour, scheduleMinute) followed by '=' and then a semicolon (sid:2052364).
  • For the setTimeMachineStatus endpoint, detect target_share or share_name parameters followed by a semicolon using PCRE (sid:2052367).
  • All attack traffic is expected in plaintext (tls_state plaintext); deploy detection rules at the network perimeter and internally.
  • ·CVE-2023-4473 affects only specific firmware versions: Zyxel NAS326 V5.21(AAZF.14)C0 and NAS542 V5.21(ABAG.11)C0. Detection rules should be scoped to these device types.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.