logo

CWE-1021 - Improper Restriction of Rendered UI Layers or Frames

CWE-1021

  • Abstraction:
  • Base
  • Structure:
  • Simple
  • Status:
  • Incomplete
Weakness Name

Improper Restriction of Rendered UI Layers or Frames

Description

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.

A web application is expected to place restrictions on whether it is allowed to be rendered within frames, iframes, objects, embed or applet elements. Without the restrictions, users can be tricked into interacting with the application when they were not intending to.

Common Consequences

Scope: Access Control

Impact: Gain Privileges or Assume Identity, Bypass Protection Mechanism, Read Application Data, Modify Application Data

Notes: An attacker can trick a user into performing actions that are masked and hidden from the user's view. The impact varies widely, depending on the functionality of the underlying application. For example, in a social media application, clickjacking could be used to trik the user into changing privacy settings.

Related Weaknesses
Related Alerts
  • Release Date:
  • 2017-11-08
  • Latest Modification Date:
  • 2023-06-29

Free security scan for your website