Cloudanix VulnDB

CVE-2023-21035

High · 7.8

CVSS

7.8

EPSS

0.1%

Published

Mar 24, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in Android lets one app secretly take over permissions that belonged to another app, giving it access to private information or features without the user knowing.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw in BackupHelper.java allows an application to inherit or obtain permissions that were previously granted to another application sharing the same package name, enabling unauthorized access to protected resources and functions without requiring additional privileges.

Why it matters to the business

Devices running affected Android versions can have apps silently gain elevated access to sensitive data and device features, increasing the risk of data theft or unauthorized actions on user devices across the ecosystem.

How an attack unfolds

An attacker develops or deploys a malicious app that targets the backup and restore logic in BackupHelper.java to bypass permission checks for a package name collision scenario, resulting in the app acquiring permissions previously assigned to another app without user interaction or additional execution rights.

How to fix it

Apply the latest available Android security patches for Android 13 and subsequent versions as soon as they are released by device manufacturers; monitor for updates addressing A-184847040 and ensure full system updates are installed on all managed devices.

How to confirm the fix worked

Confirm devices are running patched Android versions beyond the vulnerable Android-13 release; review Android security bulletins for confirmation that A-184847040 is addressed and verify app permission behavior post-update through controlled testing.

Typical attack path

  1. Identify or create an app targeting the same package name as a target app with granted permissions
  2. Trigger backup or restore operations handled by BackupHelper.java on the device
  3. Exploit the permissions bypass to inherit or retain elevated permissions
  4. Perform actions requiring the stolen permissions such as accessing protected data or APIs

How to detect it

Review system logs for anomalous permission grants during backup or restore operations; examine app installation and permission assignment events in logcat or audit logs for unexpected inheritance patterns related to package names.

What your security team should do

  • Prioritize deployment of Android security updates to all managed endpoints immediately upon availability
  • Monitor Android security bulletins and vendor patch releases for explicit fixes to this issue
  • Enforce policies limiting sideloading and review app signing and package management controls

The record

In multiple functions of BackupHelper.java, there is a possible way for an app to get permissions previously granted to another app with the same package name due to a permissions bypass. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-13Android ID: A-184847040

Affected packages

Ecosystem Package Introduced Fixed
Android platform/packages/modules/Permission 13:0 13:2023-03-01
Ubuntu:18.04:LTS android-framework-23 0 No fix
Ubuntu:20.04:LTS android-framework-23 0 No fix
Ubuntu:22.04:LTS android-framework-23 0 No fix
Ubuntu:24.04:LTS android-framework-23 0 No fix
Ubuntu:24.10 android-framework-23 0 No fix
Ubuntu:Pro:18.04:LTS android-framework-23 0 No fix
Ubuntu:Pro:20.04:LTS android-framework-23 0 No fix

Related vulnerabilities