CVE-2023-21035
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Mar 24, 2023
CISA due date
—
Cloudanix analysis
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
- Identify or create an app targeting the same package name as a target app with granted permissions
- Trigger backup or restore operations handled by BackupHelper.java on the device
- Exploit the permissions bypass to inherit or retain elevated permissions
- 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
- CVE-2024-0048 In Session of AccountManagerService.java, there is a possible method to retain foreground… Also affects android-framework-23
- CVE-2024-0046 In installExistingPackageAsUser of InstallPackageHelper.java, there is a possible carrier… Also affects android-framework-23
- CVE-2023-40094 In keyguardGoingAway of ActivityTaskManagerService.java, there is a possible lock screen… Also affects android-framework-23
- CVE-2023-40074 In saveToXml of PersistableBundle.java, invalid data could lead to local persistent… Also affects android-framework-23
- CVE-2023-21266 In multiple functions of ActivityManagerService.java, there is a possible way to escape… Also affects android-framework-23
- CVE-2023-21137 In several methods of JobStore.java, uncaught exceptions in job map parsing could lead to… Also affects android-framework-23
- CVE-2023-21136 In multiple functions of JobStore.java, there is a possible way to cause a crash on… Also affects android-framework-23
- CVE-2023-21123 In multiple functions of multiple files, there is a possible way to bypass the… Also affects android-framework-23