A Small Leak Will Sink Many Ships: Vulnerabilities Related to mini-programs Permissions
A Small Leak Will Sink Many Ships: Vulnerabilities Related to mini-programs Permissions
复制标题
DOI:
10.1109/compsac57700.2023.00085
复制
发表时间:
2022-05
期刊:
影响因子:
--
通讯作者:
Jianyi Zhang;L. Yang;Yuyang Han;Zhi Sun;Zixiao Xiang
中科院分区:
文献类型:
--
作者:
Jianyi Zhang;L. Yang;Yuyang Han;Zhi Sun;Zixiao Xiang
As a new format of mobile application, mini-programs, which function within a larger app and are built with HTML, CSS, and JavaScript web technology, have become the way to do almost everything in China. Many researchers have done the ecosystem or developing study, while the permission problem has not been investigated yet. In this paper, we present our studies on the permission management of mini-programs and conduct a systematic study on 9 popular mobile host app ecosystems that host over 7 million mini-programs. After testing over 2,580 APIs, we extracted a common abstract model for mini-programs’ permission control and revealed six categories of potential security vulnerabilities due to improper permission management. It is alarming that the current popular mobile app ecosystems (i.e., host apps) under study have at least one security vulnerability due to the mini-programs’ improper permission management. We present the corresponding attack methods to dissect these potential weaknesses further to exploit the discovered vulnerabilities. To prove that the revealed vulnerabilities may cause severe consequences in real-world use, we show three kinds of attacks without privileges or cracking the host apps. We have responsibly disclosed the newly discovered vulnerabilities, and two CVEs were issued. Finally, we put forward systematic suggestions to strengthen the standardization of mini-programs.