CAPEC-222

iFrame Overlay
Medium
High
Draft
2014-06-23
00h00 +00:00
2022-09-29
00h00 +00:00
Alerte pour un CAPEC
Stay informed of any changes for a specific CAPEC.
Notifications manage

Descriptions CAPEC

In an iFrame overlay attack the victim is tricked into unknowingly initiating some action in one system while interacting with the UI from seemingly completely different system.

Informations CAPEC

Execution Flow

1) Explore

[Craft an iFrame Overlay page] The adversary crafts a malicious iFrame overlay page.

Technique
  • The adversary leverages iFrame overlay capabilities to craft a malicious iFrame overlay page.
2) Exploit

[adversary tricks victim to load the iFrame overlay page] adversary utilizes some form of temptation, misdirection or coercion to trick the victim to loading and interacting with the iFrame overlay page in a way that increases the chances that the victim will visit the malicious page.

Technique
  • Trick the victim to the malicious site by sending the victim an e-mail with a URL to the site.
  • Trick the victim to the malicious site by manipulating URLs on a site trusted by the victim.
  • Trick the victim to the malicious site through a cross-site scripting attack.
3) Exploit

[Trick victim into interacting with the iFrame overlay page in the desired manner] The adversary tricks the victim into clicking on the areas of the UI which contain the hidden action controls and thereby interacts with the target system maliciously with the victim's level of privilege.

Technique
  • Hide action controls over very commonly used functionality.
  • Hide action controls over very psychologically tempting content.

Prerequisites

The victim is communicating with the target application via a web based UI and not a thick client. The victim's browser security policies allow iFrames. The victim uses a modern browser that supports UI elements like clickable buttons (i.e. not using an old text only browser). The victim has an active session with the target system. The target system's interaction window is open in the victim's browser and supports the ability for initiating sensitive actions on behalf of the user in the target system.

Skills Required

Crafting the proper malicious site and luring the victim to this site is not a trivial task.

Resources Required

None: No specialized resources are required to execute this type of attack.

Mitigations

Configuration: Disable iFrames in the Web browser.
Operation: When maintaining an authenticated session with a privileged target system, do not use the same browser to navigate to unfamiliar sites to perform other activities. Finish working with the target system and logout first before proceeding to other tasks.
Operation: If using the Firefox browser, use the NoScript plug-in that will help forbid iFrames.

Related Weaknesses

CWE-ID Weakness Name

CWE-1021

Improper Restriction of Rendered UI Layers or Frames
The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain, which can lead to user confusion about which interface the user is interacting with.

References

REF-84

Browser Security Handbook
Michal Zalewski.
https://code.google.com/archive/p/browsersec/wikis/Main.wiki

REF-85

Explaining the "Don't Click" Clickjacking Tweetbomb
M. Mahemoff.
http://softwareas.com/explaining-the-dont-click-clickjacking-tweetbomb

Submission

Name Organization Date Date release
CAPEC Content Team The MITRE Corporation 2014-06-23 +00:00

Modifications

Name Organization Date Comment
CAPEC Content Team The MITRE Corporation 2017-08-04 +00:00 Updated Resources_Required
CAPEC Content Team The MITRE Corporation 2018-07-31 +00:00 Updated References
CAPEC Content Team The MITRE Corporation 2019-04-04 +00:00 Updated Related_Weaknesses
CAPEC Content Team The MITRE Corporation 2019-09-30 +00:00 Updated Related_Attack_Patterns
CAPEC Content Team The MITRE Corporation 2020-07-30 +00:00 Updated Description, Example_Instances
CAPEC Content Team The MITRE Corporation 2022-09-29 +00:00 Updated Description, Execution_Flow, Extended_Description