CVE-2021-39734

7.8 HIGH

📋 TL;DR

This vulnerability in Android's RCS messaging system allows local attackers to send messages without proper permissions due to a missing permission check in OneToOneChatImpl.java. It enables local privilege escalation without requiring user interaction or additional execution privileges. Affects Android devices with vulnerable kernel versions.

💻 Affected Systems

Products:
  • Android
Versions: Android kernel versions prior to March 2022 security patch
Operating Systems: Android
Default Config Vulnerable: ⚠️ Yes
Notes: Specifically affects devices with RCS messaging capability. Pixel devices are confirmed affected per the bulletin.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

An attacker with local access could escalate privileges to send RCS messages impersonating the user, potentially enabling phishing, data exfiltration, or unauthorized communication.

🟠

Likely Case

Malicious apps could abuse this to send messages without user consent, potentially for spam, phishing, or unauthorized data transmission.

🟢

If Mitigated

With proper patching, the permission check is enforced, preventing unauthorized message sending and maintaining proper app sandboxing.

🌐 Internet-Facing: LOW - This is a local privilege escalation requiring local access, not directly exploitable over the internet.
🏢 Internal Only: MEDIUM - Requires local access to device, but could be exploited by malicious apps or users with physical access.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW - No user interaction needed, local access required

Exploitation requires local access to the device, likely through a malicious app. No public exploit code is known.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: March 2022 Android security patch level

Vendor Advisory: https://source.android.com/security/bulletin/pixel/2022-03-01

Restart Required: Yes

Instructions:

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

🔧 Temporary Workarounds

Disable RCS messaging

android

Temporarily disable Rich Communication Services to mitigate the vulnerability

Open Messages app > Settings > Chat features > Toggle 'Enable chat features' OFF

Restrict app permissions

android

Review and restrict SMS/messaging permissions for untrusted apps

Settings > Apps > [App Name] > Permissions > Deny SMS permissions

🧯 If You Can't Patch

  • Isolate vulnerable devices from sensitive networks and data
  • Implement application allowlisting to prevent installation of untrusted apps

🔍 How to Verify

Check if Vulnerable:

Check Android security patch level in Settings > About phone > Android security patch level. If before March 2022, device is vulnerable.

Check Version:

adb shell getprop ro.build.version.security_patch

Verify Fix Applied:

Verify security patch level shows 'March 5, 2022' or later in Settings > About phone > Android security patch level.

📡 Detection & Monitoring

Log Indicators:

  • Unexpected RCS message sending events in system logs
  • Permission denial logs for messaging operations

Network Indicators:

  • Unusual RCS traffic patterns from unexpected apps

SIEM Query:

source="android_system" AND (event="permission_denied" AND component="messaging") OR (event="rcs_message_sent" AND app NOT IN ["trusted_messaging_apps"])

🔗 References

📤 Share & Export