CVE-2021-1004 Missing authorization in Android

High 7.8 Published Updated

A missing permission check in Android's Wi-Fi service allows local attackers to determine installed apps without query permissions, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-1004?

CVE-2021-1004 is a high-severity missing authorization vulnerability in Google Android, published on 15 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In getConfiguredNetworks of WifiServiceImpl.java, there is a possible way to determine whether an app is installed, without query permissions, due to a missing permission check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-12Android ID: A-197749180

Weakness: CWE-862

Which versions are affected by CVE-2021-1004?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-1004?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-1004 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-197749180, GHSA-hq36-29fh-grcg, PUB-A-197749180.

Is CVE-2021-1004 in your software?

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

Check your SBOMs for free