(0Day) (Pwn2Own) Google Android Contacts Incorrect Permission Assignment Privilege Escalation Vulnerability
The Android Contacts app failed to validate a package before invoking a method inside it, so a local attacker with low-privileged code execution could escalate privileges to resources normally protected from the application. The advisory was published as a 0-day after the vendor missed the disclosure deadline.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on vulnerable 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 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
A local attacker who can already run low-privileged code could escalate to resources normally protected from the application; the text does not claim remote exploitation.
What the attacker needed
Ability to run low-privileged code on device; Android device with vulnerable Contacts app
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.
Android apps can ask other apps to do work for them, and the system is supposed to check that the app being called is really the one expected. Here the Contacts app trusted whatever package name it was given, so a malicious app already running on the phone could impersonate a trusted app and get access to data it should not see. The attacker needs to already be running code on the device, so this is a step up from a normal app, not a remote break-in.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.