CVE-2017-13209 Missing authorization in Android

High 7.8 Published Updated

A local attacker can replace a HAL service due to insecure permission checks, leading to privilege escalation and code execution as a privileged process.

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

What is CVE-2017-13209?

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

Official description

In the ServiceManager::add function in the hardware service manager, there is an insecure permissions check based on the PID of the caller which could allow an application or service to replace a HAL service with its own service. This could lead to a local elevation of privilege enabling code execution as a privileged process with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android. Versions: 8.0, 8.1. Android ID: A-68217907.

Weakness: CWE-862

Which versions are affected by CVE-2017-13209?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2017-13209?

No fix has been published for CVE-2017-13209 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2017-13209 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-13209 exists.

Public exploit code: 1 Exploit-DB entry.

All Google Android vulnerabilities

Sources

Also known as GHSA-69rg-9qrv-f7wp.

Is CVE-2017-13209 in your software?

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

Check your SBOMs for free