CVE-2021-39807 Missing authorization in Android

High 7.8 Published Updated

A missing permission check in Android's NFC handler allows local attackers to enable NFC from a Guest account, 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-39807?

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

Official description

In handleNfcStateChanged of SecureNfcEnabler.java, there is a possible way to enable NFC from the Guest account due to a missing permission check. This could lead to local escalation of privilege from the Guest account with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-12 Android-12LAndroid ID: A-209446496

Weakness: CWE-269

Which versions are affected by CVE-2021-39807?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-39807?

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-39807 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-209446496, ASB-A-209446496, GHSA-fvhw-88h4-wrgq.

Is CVE-2021-39807 in your software?

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

Check your SBOMs for free