Appsecure logo

CVE-2010-5330: Critical Vulnerability in Ubiquiti AirOS

A critical command injection vulnerability affecting certain Ubiquiti devices through a GET request. Organizations must patch immediately to mitigate risks.

CRITICALKnown ExploitedCVSS 9.8 · Published June 11, 2019

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2010-5330 is a critical command injection vulnerability affecting certain Ubiquiti devices. This vulnerability allows attackers to exploit the system through a GET request to stainfo.cgi, compromising the affected systems. The root cause lies in the unsanitized ifname variable, which can be manipulated using shell metacharacters. Due to its critical severity, organizations must prioritize patching to prevent potential exploitation.

This vulnerability has a CVSS score of 9.8, indicating a critical risk level. Organizations that use the affected Ubiquiti devices could face severe consequences, including unauthorized access and control over their network infrastructure. Immediate action is required to safeguard against potential exploitation.

The vulnerability was first published on June 11, 2019, and has been analyzed thoroughly since. Ubiquiti has released patches for the affected versions: v4.0.1 for 802.11 ISP products, v5.3.5 for AirMax ISP products, and v5.4.5 for AirSync firmware. Organizations should ensure that their devices are updated promptly to mitigate the risks associated with this vulnerability.

Risk to organizations includes the potential for unauthorized access and control over network devices. Due to the critical nature of this vulnerability, organizations should prioritize patching immediately.

Vulnerability Details

The official description of CVE-2010-5330 states that on certain Ubiquiti devices, command injection exists via a GET request to stainfo.cgi because the ifname variable is not sanitized. This vulnerability has been assigned a CWE classification of CWE-77, indicating it is related to improper neutralization of special elements used in a command ('command injection').

The CVSS score for this vulnerability is 9.8, reflecting its critical severity. The low attack complexity and the lack of required privileges or user interaction make exploitation trivially easy. The attack vector is network-based, allowing attackers to exploit the vulnerability remotely.

The vulnerability affects all versions prior to the vendor's patches, specifically impacting Ubiquiti's AirOS products. Organizations that have not yet patched their systems are at high risk.

Technical Analysis

The root cause of CVE-2010-5330 is a command injection vulnerability where the ifname variable is not properly sanitized. This allows attackers to execute arbitrary commands on the affected systems through crafted GET requests.

The attack vector is network-based, allowing remote exploitation without physical access to the devices. The complexity of the attack is low, as it requires no special privileges or user interaction to exploit the vulnerability. The impacts are severe, with high potential for confidentiality, integrity, and availability compromise.

Risk & Impact Analysis

Organizations using affected Ubiquiti devices face significant risks, including unauthorized access to sensitive network information and control over critical infrastructure. The potential for a large blast radius exists due to the network-based nature of the vulnerability, allowing attackers to impact multiple devices within an organization’s network.

Given the high CVSS score of 9.8, organizations must assess their exposure to this vulnerability urgently. The existence of this vulnerability in the Known Exploited Vulnerabilities (KEV) catalog further emphasizes the need for immediate remediation.

Organizations should address this vulnerability in their priority patch cycle, ensuring that all affected devices are updated to the fixed versions provided by Ubiquiti.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

Yes

Ransomware Use

No

Affected Versions

All versions prior to vendor patch are affected. Specifically, the vulnerable configurations include:

• Ubiquiti AirOS versions before 4.0.1 • Ubiquiti AirMax versions before 5.3.5 • Ubiquiti AirSync firmware versions before 5.4.5

Mitigation & Remediation

Organizations should apply the following mitigations to address CVE-2010-5330:

1. Update to the latest firmware versions: v4.0.1 for 802.11 ISP products, v5.3.5 for AirMax ISP products, and v5.4.5 for AirSync firmware.

2. If updates cannot be applied immediately, implement network controls to restrict access to the affected devices.

3. Monitor network traffic for unusual patterns that may indicate exploitation attempts.

Penetration testing can also be employed to validate the effectiveness of the applied mitigations.

Detection Guidance

To detect potential exploitation attempts of CVE-2010-5330, organizations should monitor for the following indicators:

1. Log indicators of HTTP requests targeting stainfo.cgi with unusual parameters.

2. Behavioral anomalies in device functionality which may indicate command execution.

AppSecure Threat Intelligence Insight

CVE-2010-5330 represents a significant threat to organizations using Ubiquiti AirOS devices. The existence of this vulnerability in the KEV catalog indicates the urgency for organizations to act. Security teams should prioritize implementing patches and understanding the wider implications of command injection vulnerabilities.

This incident highlights the need for proactive security measures, including regular vulnerability assessments and application security assessments to identify similar weaknesses.

Furthermore, continuous monitoring and incident response strategies must be implemented to mitigate risks from similar vulnerabilities that may arise in the future.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.