arXiv (Cornell University) · 2014 · 14 citations · 16 references
ComputingComputer ScienceCybersecurityMobile ComputingMobile SecurityVulnerability AnalysisCross-site ScriptingMobile Application VulnerabilitiesMobile Device SecurityWeb Application SecurityWeb Application VulnerabilitiesCode InjectionCode Injection VulnerabilitiesCode Vulnerability AnalysisCross-site Scripting In Mobile AppsInjection AttacksMobile Application Vulnerability AnalysisPortabilityVulnerability Detection
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.
16
Static detection of security vulnerabilities in scripting languages
Yichen Xie, Alex Aiken · 2006 · 370 citations
Reining in the web with content security policy
Sid Stamm, Brandon Sterne, Gervase Markham · 2010 · 194 citations
Attacks on WebView in the Android system
Tongbo Luo, Hao Hao, Wenliang Du et al. · 2011 · 190 citations