Lune

USENIX Security2019Top-tier venue

Iframes/Popups Are Dangerous in Mobile WebView: Studying and Mitigating Differential Context Vulnerabilities

Guangliang Yang, Jeff Huang, Guofei Gu

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BUIzz: Finding Policy Enforcement Bugs via Interaction Simulation on the Browser User Interface cites Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViews
  • Automated Generation of Event-Oriented Exploits in Android Hybrid Apps cites Are these Ads Safe: Detecting Hidden Attacks through the Mobile App-Web Interfaces
  • Identity Confusion in WebView-based Mobile App-in-app Ecosystems cites Automated Generation of Event-Oriented Exploits in Android Hybrid Apps
  • Identity Confusion in WebView-based Mobile App-in-app Ecosystems cites Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViews
  • ωTest: WebView-Oriented Testing for Android Applications cites Automated Generation of Event-Oriented Exploits in Android Hybrid Apps
  • ωTest: WebView-Oriented Testing for Android Applications cites Identity Confusion in WebView-based Mobile App-in-app Ecosystems
  • ωTest: WebView-Oriented Testing for Android Applications cites 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 cites 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 cites Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViews
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. ωTest: WebView-Oriented Testing for Android ApplicationsJiajun Hu, Lili Wei, Yepang Liu, Shing-Chi CheungISSTA 2023 · 8 citations
  2. Cross-Boundary Mobile Tracking: Exploring Java-to-JavaScript Information Diffusion in WebViewsSohom Datta, Michalis Diamantaris, Ahsan Zafar, Junhua Su et al.NDSS 2026 · 2 citations
  3. BUIzz: Finding Policy Enforcement Bugs via Interaction Simulation on the Browser User InterfaceMingi Jung, Donggyu Kim, Mijung Kim, Seongil WiUSENIX Security 2026
  4. Identity Confusion in WebView-based Mobile App-in-app EcosystemsLei Zhang, Zhibo Zhang, Ancong Liu, Yinzhi Cao et al.USENIX Security 2022
  5. SoK: History Doesn't Repeat Itself, but Android Design-Level Vulnerabilities Rhyme in OpenHarmonyHongkai Chen, Yuqing Yang, Chao Wang, Arpit Nandi et al.USENIX Security 2026

Builds on8

  1. 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 citations
  2. Are these Ads Safe: Detecting Hidden Attacks through the Mobile App-Web InterfacesVaibhav Rastogi, Rui Shao, Yan Chen, Xiang Pan et al.NDSS 2016 · 81 citations
  3. Automated Generation of Event-Oriented Exploits in Android Hybrid AppsGuangliang Yang, Jeff Huang, Guofei GuNDSS 2018 · 79 citations
  4. Unleashing the Walking Dead: Understanding Cross-App Remote Infections on Mobile WebViewsTongxin Li, Xueqiang Wang, Mingming Zha, Kai Chen et al.CCS 2017 · 47 citations
  5. Hindsight: Understanding the Evolution of UI Vulnerabilities in Mobile BrowsersMeng Luo, Oleksii Starov, Nima Honarmand, Nick NikiforakisCCS 2017 · 43 citations

Related papers

  1. Study and Mitigation of Origin Stripping Vulnerabilities in Hybrid-postMessage Enabled Mobile ApplicationsGuangliang Yang, Jeff Huang, Guofei Gu, Abner MendozaS&P 2018 · 27 citations
  2. Tabbed Out: Subverting the Android Custom Tab Security ModelPhilipp Beer, Marco Squarcina, Lorenzo Veronese, Martina LindorferS&P 2024 · 7 citations
  3. PhishinWebView: Analysis of Anti-Phishing Entities in Mobile Apps with WebView Targeted PhishingYoonjung Choi, Woonghee Lee, Junbeom HurWWW 2024 · 5 citations
  4. DeepExploitor: LLM-Enhanced Automated Exploitation of DeepLink Attack in Hybrid AppsZhangyue Zhang, Lei Zhang, Zhibo Zhang, Yongheng Liu et al.ASE 2025
  5. All your app links are belong to us: understanding the threats of instant apps based attacksYutian Tang, Yulei Sui, Haoyu Wang, Xiapu Luo et al.FSE 2020 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines