Lets learn together...
If you test Android apps, it's worth understanding how ContentProviders really work.
Most checks stop at exported="true", and the good bugs are somewhere else.
Credit: Our head of research @Yogehi , 3x Pwn2Own winner.
He starts with a list of real bugs: his own from Pwn2Own research (Samsung Notes CVE-2021-25367, Samsung Flow CVE-2022-28775), the Samsung clipboard provider bug that was used in an in-the-wild spyware chain (CVE-2021-25337), plus AOSP, Firefox and Xiaomi.
Then how each class works, with code: call(), getType(), URI grants, path traversal, a provider that returns a live Binder.
Short write-up to learn it:
djini.ai/posts/intro-to…
If you test Android apps, it's worth understanding how ContentProviders really work.
Most checks stop at exported="true", and the good bugs are somewhere else.
Credit: Our head of research @Yogehi , 3x Pwn2Own winner.
He starts with a list of real bugs: his own from Pwn2Own research (Samsung Notes CVE-2021-25367, Samsung Flow CVE-2022-28775), the Samsung clipboard provider bug that was used in an in-the-wild spyware chain (CVE-2021-25337), plus AOSP, Firefox and Xiaomi.
Then how each class works, with code: call(), getType(), URI grants, path traversal, a provider that returns a live Binder.
Short write-up to learn it:
djini.ai/posts/intro-to…