Iframes/Popups Are Dangerous in Mobile WebView: Studying and Mitigating Differential Context Vulnerabilities
Guangliang Yang, Jeff Huang, Guofei Gu
摘要
In this paper, we present a novel class of Android Web-View vulnerabilities (called Differential Context Vulnerabilities or DCVs) associated with web iframe/popup behaviors. To demonstrate the security implications of DCVs, we devise several novel concrete attacks. We show an untrusted web iframe/popup inside WebView becomes dangerous that it can launch these attacks to open holes on existing defense solutions, and obtain risky privileges and abilities, such as breaking web messaging integrity, stealthily accessing sensitive mobile functionalities, and performing phishing attacks. Then, we study and assess the security impacts of DCVs on real-world apps. For this purpose, we develop a novel technique, DCV-Hunter, that can automatically vet Android apps against DCVs. By applying DCV-Hunter on a large number of most popular apps, we find DCVs are prevalent. Many highprofile apps are verified to be impacted, such as Facebook, Instagram, Facebook Messenger, Google News, Skype, Uber, Yelp, and U.S. Bank. To mitigate DCVs, we design a multilevel solution that enhances the security of WebView. Our evaluation on real-world apps shows the mitigation solution is effective and scalable, with negligible overhead.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- BUIzz: Finding Policy Enforcement Bugs via Interaction Simulation on the Browser User Interface 引用了 Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViews
- Automated Generation of Event-Oriented Exploits in Android Hybrid Apps 引用了 Are these Ads Safe: Detecting Hidden Attacks through the Mobile App-Web Interfaces
- Identity Confusion in WebView-based Mobile App-in-app Ecosystems 引用了 Automated Generation of Event-Oriented Exploits in Android Hybrid Apps
- Identity Confusion in WebView-based Mobile App-in-app Ecosystems 引用了 Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViews
- ωTest: WebView-Oriented Testing for Android Applications 引用了 Automated Generation of Event-Oriented Exploits in Android Hybrid Apps
- ωTest: WebView-Oriented Testing for Android Applications 引用了 Identity Confusion in WebView-based Mobile App-in-app Ecosystems
- ωTest: WebView-Oriented Testing for Android Applications 引用了 Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViews
- SoK: History Doesn't Repeat Itself, but Android Design-Level Vulnerabilities Rhyme in OpenHarmony 引用了 Cloak and Dagger: From Two Permissions to Complete Control of the UI Feedback Loop
- SoK: History Doesn't Repeat Itself, but Android Design-Level Vulnerabilities Rhyme in OpenHarmony 引用了 Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViews
引用它的顶会 Paper9
- ωTest: WebView-Oriented Testing for Android ApplicationsJiajun Hu, Lili Wei, Yepang Liu, Shing-Chi CheungISSTA 2023 · 8 次引用
- Cross-Boundary Mobile Tracking: Exploring Java-to-JavaScript Information Diffusion in WebViewsSohom Datta, Michalis Diamantaris, Ahsan Zafar, Junhua Su 等NDSS 2026 · 2 次引用
- BUIzz: Finding Policy Enforcement Bugs via Interaction Simulation on the Browser User InterfaceMingi Jung, Donggyu Kim, Mijung Kim, Seongil WiUSENIX Security 2026
- Identity Confusion in WebView-based Mobile App-in-app EcosystemsLei Zhang, Zhibo Zhang, Ancong Liu, Yinzhi Cao 等USENIX Security 2022
- SoK: History Doesn't Repeat Itself, but Android Design-Level Vulnerabilities Rhyme in OpenHarmonyHongkai Chen, Yuqing Yang, Chao Wang, Arpit Nandi 等USENIX Security 2026
它引用的 Paper8
- Cloak and Dagger: From Two Permissions to Complete Control of the UI Feedback LoopYanick Fratantonio, Chenxiong Qian, Simon P. Chung, Wenke LeeS&P 2017 · 126 次引用
- Are these Ads Safe: Detecting Hidden Attacks through the Mobile App-Web InterfacesVaibhav Rastogi, Rui Shao, Yan Chen, Xiang Pan 等NDSS 2016 · 81 次引用
- Automated Generation of Event-Oriented Exploits in Android Hybrid AppsGuangliang Yang, Jeff Huang, Guofei GuNDSS 2018 · 79 次引用
- Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViewsTongxin Li, Xueqiang Wang, Mingming Zha, Kai Chen 等CCS 2017 · 47 次引用
- Hindsight: Understanding the Evolution of UI Vulnerabilities in Mobile BrowsersMeng Luo, Oleksii Starov, Nima Honarmand, Nick NikiforakisCCS 2017 · 43 次引用
相关 Paper
- Study and Mitigation of Origin Stripping Vulnerabilities in Hybrid-postMessage Enabled Mobile ApplicationsGuangliang Yang, Jeff Huang, Guofei Gu, Abner MendozaS&P 2018 · 27 次引用
- Tabbed Out: Subverting the Android Custom Tab Security ModelPhilipp Beer, Marco Squarcina, Lorenzo Veronese, Martina LindorferS&P 2024 · 7 次引用
- PhishinWebView: Analysis of Anti-Phishing Entities in Mobile Apps with WebView Targeted PhishingYoonjung Choi, Woonghee Lee, Junbeom HurWWW 2024 · 5 次引用
- DeepExploitor: LLM-Enhanced Automated Exploitation of DeepLink Attack in Hybrid AppsZhangyue Zhang, Lei Zhang, Zhibo Zhang, Yongheng Liu 等ASE 2025
- All your app links are belong to us: understanding the threats of instant apps based attacksYutian Tang, Yulei Sui, Haoyu Wang, Xiapu Luo 等FSE 2020 · 22 次引用
