Cloudanix VulnDB

CVE-2023-20917

High · 7.8

CVSS

7.8

EPSS

0.1%

Published

Mar 24, 2023

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A mistake in how Android handles file sharing lets one app on a phone secretly grab files meant for another app, giving it more access than it should have.

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

What it actually does

Logic error in onTargetSelected of ResolverActivity.java permits an application to select and share an incorrect file instead of the intended target, bypassing intended authorization checks and enabling local privilege escalation.

Why it matters to the business

An attacker with an app already installed on an Android device can gain unauthorized access to sensitive files and elevate privileges, potentially leading to data theft or further compromise of the device without user awareness or additional permissions.

How an attack unfolds

An attacker develops or deploys a malicious application that triggers the flawed file selection logic in ResolverActivity during intent resolution, causing the system to expose or share files outside the expected scope and allowing the app to read or manipulate protected content.

How to fix it

Apply the latest Android security patches or upgrade to a fixed version of Android that resolves the ResolverActivity logic error; monitor vendor security bulletins for Android ID A-242605257 and enforce timely OS updates across managed devices.

How to confirm the fix worked

Verify that devices are running patched Android releases by checking build fingerprints against published security bulletins; test intent resolution behavior in ResolverActivity with crafted file-sharing scenarios to confirm correct target selection.

Typical attack path

  1. Deploy a malicious application to the target Android device
  2. Trigger file-sharing intent resolution via the vulnerable ResolverActivity
  3. Exploit the logic error to select an unauthorized file target
  4. Escalate privileges locally to access sensitive data or system resources

How to detect it

Examine device logs for unexpected file access patterns during intent resolution in ResolverActivity; review application behavior for anomalous sharing of files not matching user-selected targets.

What your security team should do

  • Prioritize deployment of Android security updates to all managed devices
  • Review and restrict app installation sources to reduce exposure to malicious applications
  • Monitor for post-patch regressions in file-sharing functionality

The record

In onTargetSelected of ResolverActivity.java, there is a possible way to share a wrong file due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12L Android-13Android ID: A-242605257

Affected packages

Ecosystem Package Introduced Fixed
Android platform/frameworks/base 11:0 11:2023-03-01
Android platform/frameworks/base 12:0 12:2023-03-01
Android platform/frameworks/base 12L:0 12L:2023-03-01
Android platform/frameworks/base 13-next:0 13-next:2023-03-01
Android platform/frameworks/base 13:0 13:2023-03-01
Ubuntu:16.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:18.04:LTS android-framework-23 0 No fix
Ubuntu:18.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:20.04:LTS android-framework-23 0 No fix
Ubuntu:20.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:22.04:LTS android-framework-23 0 No fix
Ubuntu:22.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:24.04:LTS android-framework-23 0 No fix
Ubuntu:24.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:24.10 android-framework-23 0 No fix
Ubuntu:24.10 android-platform-frameworks-base 0 No fix
Ubuntu:Pro:16.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:Pro:18.04:LTS android-framework-23 0 No fix
Ubuntu:Pro:18.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:Pro:20.04:LTS android-framework-23 0 No fix
Ubuntu:Pro:20.04:LTS android-platform-frameworks-base 0 No fix

Related vulnerabilities