CVE-2010-5330 Ubiquiti AirOS Command Injection

Exploited in the wild Critical 9.8 Published Updated

Attackers can execute arbitrary commands on Ubiquiti wireless access points via unsanitized input in the stainfo.cgi script.

Exploited in the wild
Since 15 Apr 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2010-5330?

CVE-2010-5330 is a critical command injection vulnerability in n/a, published on 11 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-77

Which versions are affected by CVE-2010-5330?

It affects 1 product.

Products include Ui Airos.

How do I fix CVE-2010-5330?

No fix has been published for CVE-2010-5330 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 6 May 2022.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2010-5330 being exploited?

Yes. Attackers have exploited CVE-2010-5330 in the wild since at least 15 Apr 2022.

Sources

Also known as GHSA-c5j2-ggvf-gwvg.

Is CVE-2010-5330 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free