Command Injection in Ubiquiti AirOS stainfo.cgi
CVE-2010-5330 is a command injection vulnerability affecting certain Ubiquiti devices running AirOS/AirSync firmware, including examples such as Nanostation5. The issue exists in the CGI endpoint stainfo.cgi (also referred to as 'Show AP info'), where the ifname parameter is not properly sanitized. An attacker can supply shell metacharacters in a crafted HTTP GET request, causing attacker-controlled commands to be interpreted by the underlying shell. The vulnerability is remotely reachable through the web interface on affected devices.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote execution of arbitrary operating system commands on the affected device via the vulnerable web interface. This can lead to full compromise of the device, including unauthorized administrative actions, alteration of configuration, deployment of malware or botnet payloads, use of the device as a pivot or proxy, and disruption of network services provided by the device.
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to the device management interface so stainfo.cgi is not reachable from untrusted networks, especially the public Internet. Limit administrative access using network ACLs, VPN-only management, firewall rules, and segmentation. Monitor HTTP requests to the management interface for suspicious use of shell metacharacters in the ifname parameter and review devices for signs of compromise. Because this vulnerability has been listed by CISA as actively exploited, exposed devices should be prioritized for isolation or patching.
Patch, then assume compromise.
Upgrade affected firmware to a fixed release. The provided fixed versions are v4.0.1 for 802.11 ISP products, v5.3.5 for AirMax ISP products, and v5.4.5 for AirSync firmware. Organizations should identify exposed and legacy Ubiquiti AirOS/AirSync devices and update them to the appropriate patched firmware version.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.