Android上的跨站点请求伪造WebView
Cross Site Request Forgery on Android WebView
摘要:
Android一直致力于连接和提供出色的浏览体验。基于Web的内容可以使用WebView嵌入到Android应用程序中。它是显示网页的用户界面组件。它既可以显示远程网页,也可以加载静态HTML数据。这包括可以集成到应用程序的浏览器功能。WebView提供了许多API,使应用程序能够与WebView中的Web内容进行交互。在当前的论文中,研究了针对Android WebView的跨站请求伪造或XSRF攻击。在XSRF攻击中,通过让攻击者代表受害用户发出任意HTTP请求,利用Web应用程序对其已验证用户的信任。当用户通过WebView登录到受信任站点时,站点将对WebView而不是应用程序进行身份验证。该应用程序可以通过Webview的API代表用户发起攻击,利用用户凭据,导致跨站点请求伪造。攻击还可以通过将cookie设置为HTTP标头并代表受害者发出恶意HTTP请求来发起。
英文摘要:
Android has always been about connectivity and providing great browsing experience. Web-based content can be embedded into the Android application using WebView. It is a User Interface component that displays webpages. It can either display a remote webpage or can also load static HTML data. This encompasses the functionality of a browser that can be integrated to application. WebView provides a number of APIs which enables the applications to interact with the web content inside WebView. In the current paper Cross site request forgery or XSRF attack specific to android WebView is investigated. In XSRF attack the trusts of a web application in its authenticated users is exploited by letting the attacker make arbitrary HTTP requests on behalf of a victim user. When the user is logged into the trusted site through the WebView the site authenticates the WebView and not application. The application can launch attacks on the behalf of user with the APIs of Webview exploiting user credentials resulting in Cross site request forgery. Attacks can also be launched by setting cookies as HTTP headers and making malicious HTTP Request on behalf of victim.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。