CVE-2016-4477 Command injection in n/a

High 7.8 Published Updated

Local attackers can inject newlines into passphrase parameters to trigger arbitrary library loading, leading to privilege escalation or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-4477?

CVE-2016-4477 is a high-severity command injection vulnerability in Google Android, published on 9 May 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

wpa_supplicant 0.4.0 through 2.5 does not reject \n and \r characters in passphrase parameters, which allows local users to trigger arbitrary library loading and consequently gain privileges, or cause a denial of service (daemon outage), via a crafted (1) SET, (2) SET_CRED, or (3) SET_NETWORK command.

Weakness: CWE-19

Which versions are affected by CVE-2016-4477?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2016-4477?

Apply the vendor's patch.

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

Is CVE-2016-4477 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as ALPINE-CVE-2016-4477, CVE-2016-2447, DEBIAN-CVE-2016-4477, GHSA-3wj5-xm6v-9hmq, UBUNTU-CVE-2016-4477.

Is CVE-2016-4477 in your software?

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

Check your SBOMs for free