The lifetime of Android API vulnerabilities : case study on the JavaScript-to-Java interface

Thomas, Daniel R. and Beresford, Alastair R. and Coudray, Thomas and Sutcliffe, Tom and Taylor, Adrian; (2015) The lifetime of Android API vulnerabilities : case study on the JavaScript-to-Java interface. In: Cambridge International Workshop on Security Protocols. LNCS . Springer, pp. 126-138. ISBN 9783319260969 (https://doi.org/10.1007/978-3-319-26096-9_13)

[thumbnail of Thomas-etal-SP2015-The-lifetime-Android-API-vulnerabilities-case-study-JavaScript-to-Java-interface]
Preview
Text. Filename: Thomas_etal_SP2015_The_lifetime_Android_API_vulnerabilities_case_study_JavaScript_to_Java_interface.pdf
Accepted Author Manuscript

Download (390kB)| Preview

Abstract

We examine the lifetime of API vulnerabilities on Android and propose an exponential decay model of the uptake of updates after the release of a fix. We apply our model to a case study of the JavaScript-to-Java interface vulnerability. This vulnerability allows untrusted JavaScript in a WebView to break out of the JavaScript sandbox allowing remote code execution on Android phones, this can often then be further exploited to gain root access. While this vulnerability was first reported in 2012-12-21 we predict that the fix will not have been deployed to 95% of devices until 2018-01-10, 5.2 years after the release of the fix. We show how this vulnerability is exploitable in many apps and the role that ad-libraries have in making this flaw so widespread.