CVE-2024-31319

7.8 HIGH

📋 TL;DR

This Android vulnerability allows a malicious app to leak data between user profiles on the same device due to a confused deputy flaw in the notification system. It enables local privilege escalation without requiring user interaction or additional permissions. All Android devices running vulnerable versions are affected.

💻 Affected Systems

Products:
  • Android
Versions: Android 12, 12L, 13, 14
Operating Systems: Android
Default Config Vulnerable: ⚠️ Yes
Notes: Affects multi-user Android devices where different user profiles exist on the same device.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete compromise of user data across profiles, including access to sensitive information from other user accounts on the same device.

🟠

Likely Case

Unauthorized data access between user profiles, potentially exposing personal information, messages, or app data.

🟢

If Mitigated

Limited impact with proper app sandboxing and user profile isolation controls in place.

🌐 Internet-Facing: LOW - This is a local privilege escalation vulnerability requiring local access.
🏢 Internal Only: HIGH - Exploitable by malicious apps installed on the device without user interaction.

🎯 Exploit Status

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

Requires a malicious app to be installed on the device, but no user interaction needed for exploitation once installed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Android Security Bulletin June 2024 patches

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

Restart Required: Yes

Instructions:

1. Check for Android system updates in Settings > System > System update. 2. Install the June 2024 security patch. 3. Reboot device after installation.

🔧 Temporary Workarounds

Disable Unknown Sources

android

Prevent installation of malicious apps from unknown sources

Settings > Security > Install unknown apps > Disable for all apps

Remove Unnecessary User Profiles

android

Reduce attack surface by removing unused user profiles

Settings > System > Multiple users > Remove unused profiles

🧯 If You Can't Patch

  • Restrict app installations to trusted sources only (Google Play Store)
  • Implement mobile device management (MDM) to control app installations and monitor for suspicious behavior

🔍 How to Verify

Check if Vulnerable:

Check Android security patch level in Settings > About phone > Android version > Security patch level. If before June 2024, device is vulnerable.

Check Version:

adb shell getprop ro.build.version.security_patch

Verify Fix Applied:

Verify security patch level shows 'June 5, 2024' or later in Settings > About phone > Android version > Security patch level.

📡 Detection & Monitoring

Log Indicators:

  • Unusual notification service activity between user profiles
  • Suspicious app behavior accessing notification channels across users

Network Indicators:

  • Not applicable - local vulnerability

SIEM Query:

Not applicable for typical Android deployments

🔗 References

📤 Share & Export