CVE-2024-27981 Command injection in UniFi Network Application

Critical 9.8 Published Updated

Administrators can exploit command injection to escalate privileges to root on self-hosted UniFi Network servers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-27981?

CVE-2024-27981 is a critical command injection vulnerability in Ubiquiti Inc UniFi Network Application, published on 4 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Command Injection vulnerability found in a Self-Hosted UniFi Network Servers (Linux) with UniFi Network Application (Version 8.0.28 and earlier) allows a malicious actor with UniFi Network Application Administrator credentials to escalate privileges to root on the host device. Affected Products: UniFi Network Application (Version 8.0.28 and earlier) . Mitigation: Update UniFi Network Application to Version 8.1.113 or later.

Weakness: CWE-77

Which versions are affected by CVE-2024-27981?

How do I fix CVE-2024-27981?

No fix has been published for CVE-2024-27981 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2024-27981 being exploited?

There is no known exploitation of CVE-2024-27981 in the wild and no public exploit code.

Sources

Also known as GHSA-9m65-6pjm-r78p.

Is CVE-2024-27981 in your software?

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

Check your SBOMs for free