CVE-2010-5330 in Ui Airos
On certain Ubiquiti devices, Command Injection exists via a GET request to stainfo.cgi (aka Show AP info) because the ifname variable is not sanitized, as demonstrated by shell metacharacters. The fixed version is v4.0.1 for 802.11 ISP products, v5.3.5 for AirMax ISP products, and v5.4.5 for AirSync firmware. For ex...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ui | Airos | < 4.0.1 ≥ 4.0.2, < 5.3.5 ≥ 5.3.6, < 5.4.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-04-15 |
|---|---|
| Public exploit | Not confirmed |
Official description
On certain Ubiquiti devices, Command Injection exists via a GET request to stainfo.cgi (aka Show AP info) because the ifname variable is not sanitized, as demonstrated by shell metacharacters. The fixed version is v4.0.1 for 802.11 ISP products, v5.3.5 for AirMax ISP products, and v5.4.5 for AirSync firmware. For example, Nanostation5 (Air OS) is affected.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2010-5330 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-277467-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2019-06-11 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical command injection vulnerability exists in certain Ubiquiti devices, allowing an attacker to execute arbitrary commands via a GET request to stainfo.cgi. This can lead to full system compromise, affecting the integrity, confidentiality, and availability of the device. Immediate action is required to mitigate this risk.
The vulnerability is triggered when an attacker sends a specially crafted GET request to the stainfo.cgi endpoint, which does not properly sanitize the ifname parameter. This allows the execution of shell metacharacters, leading to command injection. The attack can be performed remotely without authentication.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization on all web interfaces, particularly for parameters that can influence system commands. Consider deploying a web application firewall (WAF) to filter out malicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2010-5330?
A critical command injection vulnerability exists in certain Ubiquiti devices, allowing an attacker to execute arbitrary commands via a GET request to stainfo.cgi. This can lead to full system compromise, affecting the integrity, confidentiality, and availability of the device. Immediate action is required to mitigate this risk.
What is the CVSS score for CVE-2010-5330?
CVE-2010-5330 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 40.2%.
Is CVE-2010-5330 actively exploited?
Yes. CVE-2010-5330 is in the CISA known-exploited catalog (added 2022-04-15). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2010-5330?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2010-5330?
CVE-2010-5330 affects Ui Airos.
What NERC-CIP standard applies to CVE-2010-5330?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to electronic access control or monitoring systems, potentially compromising the security of the control system.
What IEC 62443 requirement maps to CVE-2010-5330?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a lack of input validation, which can lead to command injection and compromise of the device, violating the requirement for secure software development practices.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ui","product":"Airos","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.