~/talk

A Universal Way to Exploit Android PendingIntents in High-profile and System Apps

Talkat Black Hat Europe 2021 · 2021-11-08..11-11· [android, security]
links:none on file
name:En He
links:none on file
links:none on file
slides:none on file

Documents a universal exploit that rewrites PendingIntents whose base Intent is implicit, letting a malicious app retrieve them from notifications, slice providers, app widgets, media browser services and then mutate and send them to gain the creator app’s UID permissions. The team finds multiple CVEs (e.g. CV20201888, CV2020389), vulnerable AOSP/system services and high‑profile apps (PayPal, Airbnb, Twitter, Drive, Play Services), builds a static pending intent scanner using jinpo IR and suit to find unsafe getActivity/getBroadcast/getService uses, and notes Android 12’s FLAG_IMMUTABLE and IDE lint as partial mitigations.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Agenda
  3. 1:12Who we are
  4. 4:00The Pendingintent API
  5. 4:51Previous Research
  6. 6:11Retrieving Pendingintents
  7. 11:29Hijacking Insecure Pendingintents
  8. 12:18Deep Dive Into PendingIntent
  9. 12:56Hijacking Pendingintents with Implicit Base Intent
  10. 15:03Case Studies
  11. 15:43POC of CVE-2020-0188
  12. 16:13CVE-2020-0389: Notification
  13. 17:34A-166126300: MediaBrowser Service
  14. 18:19Some High Profile Apps: AppWidgets
  15. 19:12CVE-2020-0294: System Service
  16. 20:12Restrictions on URI Grant from uid 1000
  17. 21:09Hunting Insecure Pendingintents Automatically
  18. 21:42Search APIs without IMMUTABLE
  19. 22:19Search Empty or Implicit base Intents
  20. 23:39Security Changes in Android 12
  21. 25:17Security Guidelines
  22. 26:09Final Advice
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.