CAPEC-503: WebView Exposure

Standard Draft

CAPEC版本: 3.9

更新日期: 2023-01-24

攻击模式描述

An adversary, through a malicious web page, accesses application specific functionality by leveraging interfaces registered through WebView's addJavascriptInterface API. Once an interface is registered to WebView through addJavascriptInterface, it becomes global and all pages loaded in the WebView can call this interface.

前提条件

  • This type of an attack requires the adversary to convince the user to load the malicious web page inside the target application. Once loaded, the malicious web page will have the same permissions as the target application and will have access to all registered interfaces. Both the permission and the interface must be in place for the functionality to be exposed.

缓解措施

To mitigate this type of an attack, an application should limit permissions to only those required and should verify the origin of all web content it loads.

关键信息

CAPEC ID: CAPEC-503

抽象级别: Standard

状态: Draft

相关攻击模式
相关CWE弱点