Skip to content
Back to Blog
·12 min read·news

Android CVE-2023-21394: How Multi-User Security Bypass Threatens

A critical Android vulnerability lets attackers bypass multi-user security without privileges. Here's what Indian businesses need to know and how to protect...

BR

Bachao.AI Research Team

Cybersecurity Research

Source: NIST NVD

Scan Your Stack for This
Android CVE-2023-21394: How Multi-User Security Bypass Threatens

Business impact of this development

Emerging threats move fast. Indian SMBs are primary targets because they're under-defended. Here's what you need to know and do now.

Originally reported by NIST NVD

When I was architecting security for large enterprises, one of the hardest problems to solve was device-level security across distributed teams. We'd spend months on MDM (Mobile Device Management) policies, only to find a single vulnerability could undo all that work. That's exactly what CVE-2023-21394 represents — and it's a wake-up call for Indian SMBs that rely on Android devices for business operations.

What Happened

In March 2023, Google's Android security team disclosed CVE-2023-21394, a critical vulnerability in Android's telecommunications module that allows attackers to bypass multi-user security boundaries through a "confused deputy" attack. The vulnerability exists in the Telecom framework — a core Android component that manages calling, messaging, and phone-related permissions.

The key details:

    1. Affected Component: Android Telecom framework (affects multiple Android versions)
    2. Attack Vector: Local, no user interaction required
    3. Privilege Escalation: Attacker can escalate from unprivileged app to access sensitive user data across device profiles
    4. Impact: Information disclosure — attackers can read SMS messages, call logs, and contact information from other user accounts on the same device
    5. CVSS Score: 7.1 (High severity)
The vulnerability stems from improper permission validation in the Telecom service. An attacker with a malicious app installed on an Android device can trick the system into believing it has permissions it shouldn't have — the "confused deputy" problem. The system (deputy) unknowingly performs privileged operations on behalf of the attacker.

This isn't a theoretical attack. Security researchers have demonstrated working exploits, and the vulnerability affects millions of Android devices worldwide, particularly those running Android 11-13 during the disclosure period.

Why This Matters for Indian Businesses

You might think: "This is an Android vulnerability. My business uses iPhones and Windows. Why should I care?"

Here's why this matters for Indian SMBs specifically:

1. DPDP Act Compliance Risk

India's Digital Personal Data Protection Act (2023) mandates that businesses implement "reasonable security measures" to protect personal data. If an employee's Android device gets compromised via CVE-2023-21394, and customer SMS messages or contact lists are exfiltrated, your business is liable. The DPDP Act's definition of "reasonable security" now includes regular vulnerability assessments and patch management — which many Indian SMBs skip.

Penalties? Up to ₹5 crore or 2% of annual turnover, whichever is higher.

2. CERT-In Incident Reporting Mandate

India's Computer Emergency Response Team (CERT-In) requires all organizations to report cybersecurity incidents within 6 hours of discovery. If your business uses Android devices for customer-facing operations (field sales, support teams, delivery partners), a CVE-2023-21394 exploit could trigger this reporting requirement. Most Indian SMBs don't have incident response playbooks ready.

3. Real-World Impact for Indian SMBs

Consider these common scenarios:

    1. Logistics & Delivery: Delivery partners use Android devices to manage shipments and customer contact details. A breach exposes customer addresses and phone numbers.
    2. Retail & E-commerce: Field sales teams use Android phones to capture customer information. A vulnerability here means customer data theft.
    3. Healthcare & Diagnostics: Many Indian clinics and diagnostic centers use Android tablets for patient management. SMS OTPs, appointment details, and patient contact info become accessible.
    4. Banking & Fintech: Customer service teams on Android devices could have access to account information, transaction details, and customer SMS records.
As someone who's reviewed hundreds of Indian SMB security postures, I can tell you: most don't track which Android devices access business data, let alone have a patch management process.

Technical Breakdown

How the Confused Deputy Attack Works

The vulnerability exploits a fundamental principle in Android security: the confused deputy problem. Here's the attack chain:

graph TD A["Attacker Installs Malicious App
(No Special Permissions)"] -->|"Exploits Telecom Framework"| B["App Calls Telecom Service
(Without Required Permission)"] B -->|"Confused Deputy: System Trusts
Telecom Service"| C["Telecom Service Grants Access
(Thinks Request is Legitimate)"] C -->|"Permission Bypass"| D["Attacker Reads SMS/Calls
from Other User Profiles"] D -->|"Data Exfiltration"| E["Customer Data, OTPs,
Sensitive Messages Stolen"]

The Technical Root Cause

Android's Telecom framework is designed to be a "deputy" — it acts on behalf of legitimate apps to manage phone calls and messages. The vulnerability occurs because:

  1. Improper Permission Check: The Telecom service doesn't properly validate whether the calling app actually has the required permission
  2. Cross-User Boundary Bypass: The service doesn't enforce user profile isolation — it treats all requests as coming from the system
  3. No Intent Validation: The system doesn't verify the intent or source of the request before granting access to sensitive data
Here's a simplified illustration of the vulnerable code pattern:
java
// VULNERABLE CODE PATTERN (Simplified)
public class TelecomService {
    // This method reads SMS/call logs from ANY user
    public List<String> getCallLogs() {
        // BUG: No permission check!
        // BUG: No user profile isolation!
        return database.query("SELECT * FROM call_logs");
    }
    
    // Attacker can call this via Binder IPC
    // System thinks the request is legitimate because it came through Telecom
}

The fix involves:

java
// PATCHED CODE PATTERN
public class TelecomService {
    public List<String> getCallLogs(int userId) {
        // FIX 1: Check if caller has permission
        if (!hasPermission("android.permission.READ_CALL_LOG")) {
            throw new SecurityException("Permission denied");
        }
        
        // FIX 2: Enforce user isolation
        int callerUserId = UserHandle.getCallingUserId();
        if (callerUserId != userId) {
            throw new SecurityException("User isolation violation");
        }
        
        // FIX 3: Validate intent
        Intent intent = getCallingIntent();
        if (!isLegitimateSource(intent)) {
            throw new SecurityException("Invalid source");
        }
        
        return database.query("SELECT * FROM call_logs WHERE user_id=?", userId);
    }
}

Attack Sequence Diagram

sequenceDiagram participant Attacker as Attacker App participant Telecom as Telecom Service participant Database as Call Logs DB participant System as Android System Attacker->>Telecom: Request call logs (no permission) Note over Telecom: Confused Deputy
Doesn't check permission Telecom->>System: Query call logs System->>Database: Fetch all call logs Database-->>System: Returns call logs (all users) System-->>Telecom: Call logs data Telecom-->>Attacker: Sensitive data exposed Attacker->>Attacker: Exfiltrate to C2 server

Know your vulnerabilities before attackers do

Run a free VAPT scan — takes 5 minutes, no signup required.

Book Your Free Scan

How to Protect Your Business

Immediate Actions (This Week)

1. Audit Android Devices in Your Business

First, you need to know what you're protecting. Run this inventory:

bash
#!/bin/bash
# Android Device Inventory Script
# Run this on your MDM server or manually on connected devices

echo "=== Android Device Security Audit ==="
adb devices
adb shell getprop ro.build.version.release  # Android version
adb shell getprop ro.build.fingerprint      # Build info
adb shell pm list packages -3               # Third-party apps
adb shell settings get global adb_enabled   # ADB status
adb shell getprop ro.debuggable             # Debug mode

If you don't have ADB access, use your MDM solution (Google Workspace, Microsoft Intune, Samsung Knox) to generate a report.

2. Check Patch Status

Google released patches in March 2023 and subsequent security bulletins. Check if your devices have the latest patches:

bash
# On Android device, check security patch level
adb shell getprop ro.build.version.security_patch

# Should show: 2023-03-01 or later (ideally current month)

Action: If your devices show patches older than March 2023, they're vulnerable.

3. Enable Automatic Security Updates

On Individual Devices:

    1. Go to Settings → System → System Update → Advanced
    2. Enable Automatic system updates
    3. Enable Automatic app updates from Play Store
On Enterprise Devices (MDM):

If using Google Workspace:

Devices → Android → System Update Settings
→ Set "System Update Type" to "Automatic"
→ Set "Auto-update frequency" to "Daily"

If using Samsung Knox:

Knox Configure → Device Management → Security Policies
→ Enable "Enforce Latest Security Patch"
→ Set "Auto-update" to "Enabled"

4. Restrict App Permissions

Malicious apps exploiting CVE-2023-21394 typically need to be installed first. Restrict who can install apps:

bash
# Disable installation from unknown sources (MDM command)
adb shell settings put secure install_non_market_apps 0

# Android 10+: Use Restricted Profile
# Settings → System → Multiple users → Create Restricted Profile
# Disable Telecom and Phone app access for restricted users

Medium-Term Actions (This Month)

5. Implement Mobile Device Management (MDM)

If you don't have MDM, this is critical. Indian SMBs often skip this, but DPDP Act compliance requires it.

Recommended Solutions for Indian SMBs:

    1. Google Workspace (₹500-1,500/user/month) — Best for Google-centric businesses
    2. Microsoft Intune (₹800-2,000/user/month) — Best for Microsoft ecosystem
    3. Jamf Now (₹300-1,000/device/month) — Good for mixed environments
    4. Bachao.AI Cloud Security (starts ₹5,000/month) — India-focused, DPDP-aware
What to Configure:

json
{
  "android_mdm_policy": {
    "minimum_android_version": "12.0",
    "required_security_patch": "2024-01-01",
    "disable_usb_debugging": true,
    "disable_unknown_sources": true,
    "require_device_encryption": true,
    "require_screen_lock": "PIN or Biometric",
    "auto_update_enabled": true,
    "restricted_apps": [
      "com.example.malware",
      "unauthorized_banking_apps"
    ]
  }
}

6. Implement Network Segmentation

Even if a device is compromised, limit what it can access:

bash
# Create a separate WiFi network for mobile devices
# Use WPA3 encryption
# Implement VLAN isolation

# Example: Ubiquiti UniFi setup
# Networks → Create new network → "Mobile-Devices"
# VLAN ID: 30
# Firewall: Block access to internal databases, payment systems
# Allow: Internet, SaaS apps only

7. Monitor for Suspicious Activity

Set up alerts for unusual data access patterns:

bash
# If using Google Workspace:
# Security → Investigation tool → Data activity
# Create alert for:
# - Bulk SMS/call log access
# - Access from new devices
# - Access outside business hours
# - Multiple failed authentication attempts

Long-Term Actions (This Quarter)

8. Create an Incident Response Plan

You need a playbook for when (not if) a breach happens. Here's a template:

markdown
## Android Device Breach Response Plan

### Hour 0-1: Detect & Isolate
- [ ] Device detected as compromised
- [ ] Immediately disconnect from WiFi and cellular
- [ ] Place in isolated network segment
- [ ] Document timestamp of discovery

### Hour 1-2: Assess & Notify
- [ ] Identify what data was accessed (call logs, SMS, contacts)
- [ ] Determine which customers/users are affected
- [ ] Notify CERT-In (within 6 hours) — cert-in@cert-in.org.in
- [ ] Notify affected customers (DPDP Act requirement)

### Hour 2-6: Contain & Recover
- [ ] Reset device password/PIN
- [ ] Revoke compromised credentials
- [ ] Force password reset for affected users
- [ ] Monitor for data exfiltration
- [ ] Preserve forensic evidence

### Hour 6+: Investigate & Improve
- [ ] Forensic analysis (engage external firm if needed)
- [ ] Root cause analysis
- [ ] Patch all similar devices
- [ ] Update security policies
- [ ] File DPDP Act breach notification

9. Employee Training

Most breaches start with a user installing a malicious app or clicking a phishing link:

bash
# Run quarterly security training
# Topics for Android security:
# 1. Don't install apps from unknown sources
# 2. Verify app permissions before installing
# 3. Don't share OTPs or SMS codes
# 4. Report unusual device behavior immediately
# 5. Use strong passwords, enable biometric auth

# Use Bachao.AI Security Training for phishing simulations

How Bachao.AI Would Have Prevented This

When I founded Bachao.AI, this exact scenario — a critical vulnerability going unpatched in Indian SMBs — was the problem I wanted to solve.

VAPT Scan (Free → ₹1,999)

How it helps: Our vulnerability assessment would have detected:

    1. Android devices running unpatched versions
    2. Telecom framework version vulnerable to CVE-2023-21394
    3. Apps with excessive permissions (potential exploits)
    4. Missing security patches across your device inventory
Time to detect: Immediately upon scan Cost: Free baseline scan, comprehensive assessment at ₹1,999 Action: Book Your Free VAPT Scan

Cloud Security (₹5,000-15,000/month)

How it helps:

    1. Continuous monitoring of Android devices in your environment
    2. Automatic detection of CVE-2023-21394 exploitation attempts
    3. Network-level protection against data exfiltration
    4. Integration with your MDM for automated remediation
Example Alert:
json
{
  "alert_id": "CVE-2023-21394-EXPLOIT",
  "severity": "CRITICAL",
  "device": "employee-phone-001",
  "detection": "Unauthorized access to Telecom framework",
  "action_taken": "Device isolated, admin notified",
  "timestamp": "2024-01-15T14:32:00Z"
}

DPDP Compliance (₹2,000-5,000)

How it helps:

    1. Ensures your Android device security meets DPDP Act requirements
    2. Documents security measures for regulatory audits
    3. Provides proof of "reasonable security" in case of breach
    4. Generates compliance report for your records
What you get:
    1. Device inventory audit
    2. Patch management assessment
    3. Data protection policy review
    4. Incident response plan template
    5. CERT-In notification procedure

Incident Response (24/7, ₹10,000-50,000)

How it helps:

    1. If a breach happens, we handle it
    2. Immediate forensic analysis
    3. Automatic CERT-In notification (within 6 hours)
    4. Evidence preservation and investigation
    5. Customer notification support
Our response time: First analyst engaged within 30 minutes


Quick Action Checklist

This Week:

    1. [ ] Inventory all Android devices in your business
    2. [ ] Check security patch level (should be March 2023 or later)
    3. [ ] Enable automatic updates on all devices
    4. [ ] Disable unknown source app installation
This Month:
    1. [ ] Implement or audit MDM solution
    2. [ ] Create incident response plan
    3. [ ] Run security awareness training
    4. [ ] Book Bachao.AI VAPT scan (free)
This Quarter:
    1. [ ] Complete DPDP Act compliance assessment
    2. [ ] Set up network segmentation for mobile devices
    3. [ ] Implement monitoring and alerting
    4. [ ] Document all security measures

Final Thoughts

CVE-2023-21394 is one of hundreds of vulnerabilities discovered every month. Most Indian SMBs can't keep up with patch management alone — it's a losing game.

This is exactly why I built Bachao.AI — to make enterprise-grade security accessible and affordable for Indian SMBs. You shouldn't need a dedicated security team to stay protected.

The good news? This vulnerability is patched. The concerning part? Most Indian businesses haven't applied the patch yet, and they won't until a breach happens.

Don't be that business. Start with a free vulnerability scan today.


Book Your Free Security Scan — Takes 10 minutes, shows your Android device exposure, and gives you a roadmap to fix it.


This article was written by Shouvik Mukherjee, Founder & CEO of Bachao.AI. We analyze cybersecurity incidents daily to help Indian SMBs stay protected. Have a security question? Email us or schedule a call.


Written by Shouvik Mukherjee, Founder & CEO of Bachao.AI. Follow me on LinkedIn for daily cybersecurity insights for Indian businesses.

BR

Bachao.AI Research Team

Cybersecurity Research

AI-powered security research and threat intelligence from the Bachao.AI team. Covering the latest vulnerabilities, CVEs, and cybersecurity developments affecting Indian businesses.

Get cybersecurity insights for Indian SMBs

Weekly vulnerability alerts, DPDP compliance tips, and security guides. No spam — unsubscribe anytime.

We respect your privacy. Your email is never shared.

Check whether this class of vulnerability is exposed in your systems

Free automated scan — risk score in under 2 hours. No credit card required.

Scan Your Stack for This
Find your vulnerabilitiesStart free scan →