arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1410.7756cs.CR
收藏

针对HTML5-based移动应用的代码注入攻击

Code Injection Attacks on HTML5-based Mobile Apps

Xing Jin, Tongbo Luo, Derek G. Tsui, Wenliang Du

摘要:

基于HTML5的移动应用程序变得越来越受欢迎,主要是因为它们比原生应用程序更容易在不同的移动平台上移植。基于HTML5的应用程序使用标准的Web技术实现,包括HTML5,JavaScript和CSS,它们依赖于一些中间件,如PhoneGap,与底层操作系统进行交互。了解到JavaScript容易受到代码注入攻击,我们对基于HTML5的移动应用程序进行了系统的研究,试图评估依赖Web技术进行移动应用程序开发是否安全。我们的发现相当令人惊讶。我们发现,如果基于HTML5的移动应用程序变得流行-根据目前的预测,它似乎会朝着这个方向发展-我们今天通常做的许多事情可能会变得危险,包括阅读2D条形码,扫描Wi-Fi接入点,播放MP4视频,与蓝牙设备配对等。攻击者如何通过各种渠道利用其漏洞,以及攻击者可以造成什么样的损害。除了通过示例应用程序演示攻击之外,我们还研究了186个PhoneGap插件,这些插件被应用程序用于实现各种功能,我们发现其中11个插件存在漏洞。我们还发现了两个真正的基于HTML5的应用程序容易受到攻击。

英文摘要:

HTML5-based mobile apps become more and more popular, mostly because they are much easier to be ported across different mobile platforms than native apps. HTML5-based apps are implemented using the standard web technologies, including HTML5, JavaScript and CSS; they depend on some middlewares, such as PhoneGap, to interact with the underlying OS. Knowing that JavaScript is subject to code injection attacks, we have conducted a systematic study on HTML5-based mobile apps, trying to evaluate whether it is safe to rely on the web technologies for mobile app development. Our discoveries are quite surprising. We found out that if HTML5-based mobile apps become popular--it seems to go that direction based on the current projection--many of the things that we normally do today may become dangerous, including reading from 2D barcodes, scanning Wi-Fi access points, playing MP4 videos, pairing with Bluetooth devices, etc. This paper describes how HTML5-based apps can become vulnerable, how attackers can exploit their vulnerabilities through a variety of channels, and what damage can be achieved by the attackers. In addition to demonstrating the attacks through example apps, we have studied 186 PhoneGap plugins, used by apps to achieve a variety of functionalities, and we found that 11 are vulnerable. We also found two real HTML5-based apps that are vulnerable to the attacks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑