CVE-2022-20126 Missing authorization in Android

High 7.3 Published Updated

A missing permission check in Android's Bluetooth service allows local attackers to enable discovery mode without user consent, 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
A user has to click or open something
Fix
Available

What is CVE-2022-20126?

CVE-2022-20126 is a high-severity missing authorization vulnerability in Google Android, published on 15 Jun 2022. 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

In setScanMode of AdapterService.java, there is a possible way to enable Bluetooth discovery mode without user interaction due to a missing permission check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-12 Android-12LAndroid ID: A-203431023

Weakness: CWE-862

Which versions are affected by CVE-2022-20126?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20126?

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-2022-20126 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-203431023, ASB-A-203431023, GHSA-rj46-7436-jjgq.

Is CVE-2022-20126 in your software?

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

Check your SBOMs for free