CAPEC-503

WebView Exposure
2014-06-23
00h00 +00:00
Draft
2020-07-30
00h00 +00:00
Cảnh báo cho một CAPEC
Luôn được thông báo về mọi thay đổi đối với một CAPEC cụ thể.
Quản lý thông báo

Mô tả CAPEC

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.

Thông tin CAPEC

Điều kiện tiên quyết

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.

Các biện pháp giảm thiểu

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.

Điểm yếu liên quan

CWE-ID Tên điểm yếu

CWE-284

Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Tài liệu tham khảo

REF-430

Attacks on WebView in the Android System
Tongbo Luo, Hao Hao, Wenliang Du, Yifei Wang, Heng Yin.
http://www.cis.syr.edu/~wedu/Research/paper/webview_acsac2011.pdf

Gửi

Tên Tổ chức Ngày Ngày phát hành
CAPEC Content Team The MITRE Corporation 2014-06-23 +00:00

Sửa đổi

Tên Tổ chức Ngày Bình luận
CAPEC Content Team The MITRE Corporation 2019-04-04 +00:00 Updated Related_Weaknesses
CAPEC Content Team The MITRE Corporation 2020-07-30 +00:00 Updated Related_Attack_Patterns