A Universal Way to Exploit Android PendingIntents in High-profile and System Apps
summary
Researchers demonstrate a universal exploit that hijacks implicit-base PendingIntents retrieved from notifications, slices, app widgets, media browser services and getRunningServiceControlPanel to escalate privileges and access protected content providers; concrete cases include cv20201888 and cv2020389 and an AOSP Bluetooth/media example, and writing a dex jar into a victim provider for local code execution is shown. An open-source static analyzer (Soot + Jinpo IR) finds hundreds of unsafe PendingIntents in AOSP and top apps. Mitigations include FLAG_IMMUTABLE and Android 12 lint/enforcement, which mostly fixes the class.
AI-written summary · about
chapters (14)
- 0:00Introduction to research
- 1:06Who we are
- 2:54Intents and PendingIntents basics
- 4:40PendingIntent security issues
- 6:25Retrieving PendingIntents from apps
- 9:17Retrieving PendingIntents from notifications
- 11:43Hijacking insecure PendingIntents
- 13:06Universal hijacking method
- 15:14Real-world vulnerability cases
- 19:13Special case in system services
- 21:20Automated vulnerability scanner
- 23:27Google's fixes and Android 12 changes
- 25:42Developer guidelines for safety
- 26:47Final advice and conclusion
