Cloudanix VulnDB

CVE-2021-4039

Critical · 9.8

CVSS

9.8

EPSS

71.0%

Published

Mar 1, 2022

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

Attackers may be able to take control of affected wireless access points remotely and use them to disrupt service or move deeper into the network.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Firmware
Class
Command Injection
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

This is an unauthenticated, network-exploitable command injection vulnerability in the Zyxel NWA-1100-NH web management interface. A crafted HTTP request can cause the device firmware to pass attacker-controlled input to the underlying operating system shell, allowing arbitrary commands to run with the privileges of the web interface process, which on embedded network devices often provides extensive control over configuration, files, processes, and networking behavior. Successful exploitation can result in full device compromise, including configuration theft, traffic interception, malware installation, botnet enrollment, persistence, and denial of service.

Why it matters to the business

A compromised wireless access point can become an attacker-controlled foothold inside the network, enabling disruption of wireless service, exposure of device credentials and network configuration, traffic manipulation, lateral movement, or use of the device in botnet activity. The CVSS score is critical and EPSS is high, with public exploit availability, so exposed management interfaces should be treated as high priority even though this vulnerability is not currently listed in CISA KEV. Because no fixed version is provided, organizations may need to isolate, replace, or decommission affected devices rather than relying on a normal patch cycle.

How an attack unfolds

An attacker first identifies a Zyxel NWA-1100-NH device with its web management interface reachable over the network or internet. They then send a specially crafted HTTP request containing shell metacharacters or command separators in a vulnerable web parameter. The firmware fails to safely validate or escape that input before invoking operating system functionality, causing the injected command to execute on the access point. The attacker may run reconnaissance commands to identify firmware, users, network interfaces, and configuration files, then download a payload using built-in utilities such as wget, curl, tftp, or busybox. After execution, the attacker can modify configuration, add persistence where possible, proxy traffic, disrupt wireless service, pivot toward internal assets, or enroll the device into an IoT botnet.

How to fix it

Restrict access to the Zyxel NWA-1100-NH web management interface immediately so it is reachable only from a dedicated trusted management network or VPN, and never directly from the internet. If Zyxel provides an updated firmware for the affected hardware, upgrade to the vendor-supported fixed release. Because no fixed version is specified for this advisory, confirm the product support status with Zyxel; if no supported patched firmware exists, replace or decommission affected NWA-1100-NH devices. Disable remote administration where possible, enforce strong administrative credentials, remove unnecessary port forwarding, and apply firewall rules limiting HTTP/HTTPS management access to known administrative hosts. After remediation, rotate device administrative credentials and any shared network secrets that may have been accessible from the device configuration.

How to confirm the fix worked

Confirm exposure by inventorying all Zyxel NWA-1100-NH devices and verifying their firmware versions and support status against current Zyxel advisories. Validate that the management interface is not reachable from untrusted networks using external and internal port scans for HTTP/HTTPS management ports. Review firewall, NAT, and remote-management settings to ensure only approved management sources can connect. Where a vendor-fixed firmware exists, verify the installed firmware version from the device administrative interface or CLI after upgrade. If no patched firmware is available, validate compensating controls by confirming management access is blocked except from trusted administrative networks and that the device has been replaced or isolated where required.

Typical attack path

  1. Scan for exposed Zyxel NWA-1100-NH web management interfaces.
  2. Fingerprint the device model and firmware through HTTP banners, login pages, or management endpoints.
  3. Send a crafted HTTP request containing command-injection characters in a vulnerable web interface parameter.
  4. Execute basic commands such as id, uname, ifconfig, ps, or cat against configuration files to confirm code execution.
  5. Download or stage tooling using wget, curl, tftp, ftpget, or busybox utilities.
  6. Run malware, a reverse shell, credential collection commands, or configuration modification commands on the device.
  7. Establish persistence if supported by the firmware and hide activity by removing temporary files or killing competing malware.
  8. Use the access point for internal reconnaissance, traffic manipulation, denial of service, or botnet activity.

How to detect it

Investigate whether exploitation has already occurred by reviewing web management access logs, reverse proxy logs if present, firewall session logs, IDS/IPS alerts, DNS logs, and device syslog around requests to the access point management interface. Look for HTTP requests containing shell metacharacters such as semicolons, pipes, backticks, command substitution, URL-encoded command separators, or references to common Unix commands. Pay particular attention to requests followed by outbound connections from the device to unfamiliar IP addresses or domains, especially over HTTP, HTTPS, FTP, or TFTP. On the device, where forensic access is possible, inspect running processes, startup scripts, crontab-equivalent locations, temporary directories, modified configuration files, and unexpected binaries or scripts under writable paths such as /tmp or /var. Signs of exploitation include the web server spawning shell processes, downloads of executable payloads, chmod operations, execution from temporary directories, unexpected busybox invocations, reverse shell commands, unexplained configuration changes, device reboots, or wireless service instability. If centralized logs are limited, correlate firewall egress from the access point with known attack windows and scan sources.

  • ;/bin/sh
  • |/bin/sh
  • `/bin/sh`
  • $(/bin/sh)
  • ;wget
  • |wget
  • $(wget
  • `wget
  • ;curl
  • |curl
  • $(curl
  • `curl
  • ;tftp
  • |tftp
  • tftp -g
  • busybox wget
  • busybox tftp
  • chmod +x /tmp/
  • /tmp/.
  • /tmp/mips
  • /tmp/arm
  • /tmp/busybox
  • /tmp/bot
  • /tmp/update
  • /tmp/payload
  • nc -e /bin/sh
  • telnetd -l /bin/sh
  • /bin/busybox
  • ;cat /etc/passwd
  • ;uname -a
  • ;id
  • ;ps
  • %3Bwget
  • %7Cwget
  • %60wget
  • %24%28wget
  • %3Bcurl
  • %7Ccurl
  • %3Btftp
  • %7Ctftp

What your security team should do

  • Treat internet-exposed Zyxel NWA-1100-NH management interfaces as urgent remediation targets due to critical severity, high EPSS, and public exploit availability.
  • Identify all affected devices, including devices in branch offices, labs, warehouses, and unmanaged network closets.
  • Immediately remove public exposure of the web management interface and restrict administration to trusted management networks or VPN access only.
  • Check Zyxel support advisories for fixed firmware; if no supported patched version exists, plan replacement or decommissioning of affected devices.
  • Review historical web access logs, firewall logs, IDS alerts, and device syslog for command-injection attempts and post-exploitation activity.
  • Rotate administrative passwords and wireless/shared secrets if exploitation is suspected or if the device was exposed to untrusted networks.
  • Monitor for outbound connections from access points to unknown internet hosts, especially downloads using wget, curl, tftp, ftp, or busybox.
  • Add SIEM detections for shell metacharacters and command execution patterns in HTTP requests to embedded device management interfaces.

The record

A command injection vulnerability in the web interface of the Zyxel NWA-1100-NH firmware could allow an attacker to execute arbitrary OS commands on the device.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities