Google Android fts_driver_test_write Heap-based Buffer Overflow Privilege Escalation Vulnerability
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
- 2021-06-29 - Advisory Updated
Credit
Jesse Chang and Jack Tang of TrendMicro Mobile Security Research Team