GHSL-2020-010: Out-Of-Bounds write in Android Open Source Project - CVE-2020-0070
An out-of-bounds write in Android's NFC tag parsing code occurs because a block index is derived from tag-supplied data without proper bounds checking. An attacker within NFC range could supply a malicious tag to trigger the write and potentially achieve remote code execution in the NFC daemon.
An Out-of-Bounds write in Android’s rwt2tupdatelockattributes (NFC) could leads to remote code execution.
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
Impact
If successfully exploited, an attacker within NFC range could obtain remote code execution on the Android device's NFC daemon.
What the attacker needed
Attacker within NFC range; malicious NFC tag
The fix
The issue was fixed in the April 2020 Android security patch.
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 memory corruption bug in Android's NFC code. When an NFC tag is read, data from the tag controls how many bytes are written into a fixed-size buffer, and a large value causes a write past the end of that buffer. An attacker with a specially crafted NFC tag could exploit this to run code on the phone.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.