CVE-2024-31318 Missing authorization in Android

High 7.8 Published Updated

A missing permission check in Android's CompanionDeviceManagerService allows local attackers to pair devices 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
Not needed
Fix
Available

What is CVE-2024-31318?

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

Official description

In CompanionDeviceManagerService.java, there is a possible way to pair a companion device without user acceptance 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.

Weakness: CWE-862, CWE-269

Which versions are affected by CVE-2024-31318?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2024-31318?

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-2024-31318 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-313428840, ASB-A-313428840, GHSA-phhv-843p-5rr5.

Is CVE-2024-31318 in your software?

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

Check your SBOMs for free