Advisory Details

March 12th, 2021

Google Android fts_driver_test_write Heap-based Buffer Overflow Privilege Escalation Vulnerability

ZDI-21-279
ZDI-CAN-11094

CVE ID CVE-2021-0457
CVSS SCORE 7.8, (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
AFFECTED VENDORS Google
AFFECTED PRODUCTS Android
VULNERABILITY DETAILS

This vulnerability allows local attackers to execute arbitrary code on affected installations of Google Android. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the fts_driver_test_write function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute code in the context of the kernel.

ADDITIONAL DETAILS Google has issued an update to correct this vulnerability. More details can be found at:
https://source.android.com/security/overview/acknowledgements
DISCLOSURE TIMELINE
  • 2020-05-20 - Vulnerability reported to vendor
  • 2021-03-12 - Coordinated public release of advisory
CREDIT Jesse Chang and Jack Tang of TrendMicro Mobile Security Research Team
BACK TO ADVISORIES