Vulnerability · Published Mar 1, 2023 · Assigned by Google

CVE-2023-0460Remote code execution in YouTube Android Player API SDK

Medium 5.1

In plain English

A medium-severity security flaw in YouTube Android Player API SDK from Google. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities).

Severity (CVSS 3.1)5.1Medium
Exploit odds (30 days)0.1%top 98.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The YouTube Embedded 1.2 SDK binds to a service within the YouTube Main App. After binding, a remote context is created with the flags Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY. This allows the client app to remotely load code from YouTube Main App by retrieving the Main App’s ClassLoader. A potential vulnerability in the binding logic used by the client SDK where the SDK ends up calling bindService() on a malicious app rather than YT Main App. This creates a vulnerability where the SDK can load the malicious app’s ClassLoader instead, allowing the malicious app to load arbitrary code into the calling app whenever the embedded SDK is invoked. In order to trigger this vulnerability, an attacker must masquerade the Youtube app and install it on a device, have a second app that uses the Embedded player and typically distribute both to the victim outside of the Play Store.

Affected products (as reported)

VendorProductVersions
Google YouTube Android Player API SDK 1.2 – through 1.2.2

Weakness: CWE-470 · Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N

References