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

一种缓解Android SSL漏洞的应用程序包配置方法

An Application Package Configuration Approach to Mitigating Android SSL Vulnerabilities

Vasant Tendulkar, William Enck

摘要:

诸如智能电话之类的计算平台经常使用许多单独的应用程序而不是单个Web浏览器应用程序来访问Web内容。这些应用程序通常处理敏感的用户信息,如财务数据或密码,并使用安全套接字层(SSL)来保护它免受未经授权的窃听。然而,最近的研究已经证实了SSL验证在应用程序中广泛存在的错误配置。本文考虑了Android应用程序开发人员在修改SSL代码以使用固定或使用自签名SSL证书等常见功能时所面临的困难。例如,开发一个使用自签名证书访问测试Web服务器的应用程序需要额外的代码来删除SSL验证;但是,在应用程序的生产版本中并不总是删除这些代码。为了缓解由于Android应用程序中自定义SSL代码的复杂性而引入的漏洞,我们建议应在应用程序的包清单中指定通用SSL配置。我们提供了两个具体的建议:1)将应用程序的调试状态链接到SSL验证,以及2)将证书和CA固定在清单中。我们对Google Play商店中的13,000多个应用程序(其中3,302个在非广告代码中使用SSL)评估了这两个建议的适当性,并发现其中1,889个(57.20%)SSL应用程序将受益。

英文摘要:

Computing platforms such as smartphones frequently access Web content using many separate applications rather than a single Web browser application. These applications often deal with sensitive user information such as financial data or passwords, and use Secure Sockets Layer (SSL) to protect it from unauthorized eavesdropping. However, recent studies have confirmed a wide-spread misconfiguration of SSL verification in applications. This paper considers the difficulty faced by Android application developers when modifying SSL code for using common features like pinning or using a self-signed SSL certificate. For example, developing an application that accesses a test Web server with a self-signed certificate requires additional code to remove SSL verification; however, this code is not always removed in production versions of the application. To mitigate vulnerabilities introduced because of the complexity of customizing SSL code in Android applications, we propose that common SSL configuration should be specified in the application's package manifest. We provide two concrete suggestions: 1) linking the application's debug state to SSL verification, and 2) pinning certificates and CAs in the manifest. We evaluate the appropriateness of these two suggestions on over 13,000 applications from Google's Play Store, of which 3,302 use SSL in non-advertisement code, and find that 1,889 (57.20%) of these SSL applications would benefit.

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

↑