Demystifying Cookie Sharing Risks in WebView-based Mobile App-in-app Ecosystems
Miao Zhang, Shenao Wang, Guilin Zheng, Yanjie Zhao, Haoyu Wang

TL;DR
This paper uncovers a new vulnerability called Cross Mini-program Cookie Sharing (CMCS) in web-view based mini-programs within super-apps, demonstrating widespread risks and proposing a static analysis tool for detection.
Contribution
It introduces the CMCS vulnerability, analyzes its prevalence across major platforms, and develops MiCoScan, a static analysis tool for large-scale detection of affected mini-programs.
Findings
All four analyzed platforms are affected by CMCS.
Large-scale analysis found 45,448 clusters sharing web-view domains.
Identified 7,965 instances of privileged data transmission.
Abstract
Mini-programs, an emerging mobile application paradigm within super-apps, offer a seamless and installation-free experience. However, the adoption of the web-view component has disrupted their isolation mechanisms, exposing new attack surfaces and vulnerabilities. In this paper, we introduce a novel vulnerability called Cross Mini-program Cookie Sharing (CMCS), which arises from the shared web-view environment across mini-programs. This vulnerability allows unauthorized data exchange across mini-programs by enabling one mini-program to access cookies set by another within the same web-view context, violating isolation principles. As a preliminary step, we analyzed the web-view mechanisms of four major platforms, including WeChat, AliPay, TikTok, and Baidu, and found that all of them are affected by CMCS vulnerabilities. Furthermore, we demonstrate the collusion attack enabled by CMCS,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
