Skip to content
Info disclosure Advisory Advanced CVE-2021-0460

Google Android fts_driver_test_write Out-Of-Bounds Read Information Disclosure Vulnerability

An out-of-bounds read in the fts_driver_test_write function of Google Android allows a local attacker with low-privileged code execution to disclose sensitive information. The attacker could combine this with other vulnerabilities to escalate privileges and execute code in the kernel context.

Jesse Chang Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows local attackers to disclose sensitive information 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.

Jesse Chang and Jack Tang of TrendMicro Mobile Security Research Team, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the fts_driver_test_write function fails to validate the size of user-supplied data before reading from a buffer, leading to an out-of-bounds read.

Impact

A local attacker with low-privileged code execution could disclose sensitive information and, in conjunction with other vulnerabilities, escalate privileges to execute code in the kernel context.

What the attacker needed

Local access to the device; ability to execute low-privileged code

The fix

Google has issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a bug in a part of Android that handles touchscreen driver testing. The code reads data from a buffer without checking how much data is actually there, so it can read past the end and leak memory contents. An attacker who can already run low-privileged code on the device could use this to see sensitive information and possibly gain higher privileges.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Jesse Chang

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.