CVE-2018-9391

6.7 MEDIUM

📋 TL;DR

This vulnerability allows local privilege escalation on Android devices with MediaTek GPS chipsets. An attacker with system execution privileges can exploit an out-of-bounds write in GPS handling code to gain elevated privileges. Only devices with specific MediaTek hardware and vulnerable Android versions are affected.

💻 Affected Systems

Products:
  • Android devices with MediaTek GPS chipsets
Versions: Android versions prior to June 2018 security patch
Operating Systems: Android
Default Config Vulnerable: ⚠️ Yes
Notes: Requires specific MediaTek GPS hardware implementation; Pixel devices mentioned in bulletin but other MediaTek-based devices likely affected.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device compromise allowing attacker to execute arbitrary code with system privileges, potentially installing persistent malware or accessing sensitive data.

🟠

Likely Case

Local privilege escalation allowing malware or malicious apps to gain system-level access and bypass security controls.

🟢

If Mitigated

Limited impact if devices are patched or have proper app sandboxing and privilege separation in place.

🌐 Internet-Facing: LOW - This is a local privilege escalation requiring system execution privileges, not remotely exploitable.
🏢 Internal Only: MEDIUM - Could be exploited by malicious apps or malware already on the device to escalate privileges.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires system execution privileges to exploit; no user interaction needed but initial access required.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: June 2018 Android Security Patch Level or later

Vendor Advisory: https://source.android.com/security/bulletin/pixel/2018-06-01

Restart Required: Yes

Instructions:

1. Apply June 2018 Android security patch. 2. Update device firmware through manufacturer channels. 3. Reboot device after update.

🔧 Temporary Workarounds

Disable GPS services

android

Temporarily disable GPS functionality to prevent exploitation of vulnerable code paths

adb shell pm disable com.android.location.fused
adb shell pm disable com.android.location.gps

🧯 If You Can't Patch

  • Restrict installation of untrusted applications to reduce attack surface
  • Implement strict app sandboxing and monitor for privilege escalation attempts

🔍 How to Verify

Check if Vulnerable:

Check Android security patch level: Settings > About phone > Android security patch level. If before June 2018, device is vulnerable.

Check Version:

adb shell getprop ro.build.version.security_patch

Verify Fix Applied:

Verify Android security patch level shows June 2018 or later. Check GPS functionality works normally after patch.

📡 Detection & Monitoring

Log Indicators:

  • Unusual GPS service crashes
  • Privilege escalation attempts in system logs
  • SELinux denials related to GPS services

Network Indicators:

  • None - local exploitation only

SIEM Query:

source="android_system" AND (event="gps_crash" OR event="privilege_escalation")

🔗 References

📤 Share & Export