A Universal Way to Exploit Android PendingIntents in High-profile and System Apps
summary
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
chapters (22)
- 0:00Intro
- 0:30Agenda
- 1:12Who we are
- 4:00The Pendingintent API
- 4:51Previous Research
- 6:11Retrieving Pendingintents
- 11:29Hijacking Insecure Pendingintents
- 12:18Deep Dive Into PendingIntent
- 12:56Hijacking Pendingintents with Implicit Base Intent
- 15:03Case Studies
- 15:43POC of CVE-2020-0188
- 16:13CVE-2020-0389: Notification
- 17:34A-166126300: MediaBrowser Service
- 18:19Some High Profile Apps: AppWidgets
- 19:12CVE-2020-0294: System Service
- 20:12Restrictions on URI Grant from uid 1000
- 21:09Hunting Insecure Pendingintents Automatically
- 21:42Search APIs without IMMUTABLE
- 22:19Search Empty or Implicit base Intents
- 23:39Security Changes in Android 12
- 25:17Security Guidelines
- 26:09Final Advice
