ClickJacking

What is ClickJacking ?

Clickjacking, also known as a “UI redress attack”, is when an attacker uses multiple transparent or opaque layers to trick a user into clicking on a button or link on another page when they were intending to click on the top level page.

Thus, the attacker is “hijacking” clicks meant for their page and routing them to another page, most likely owned by another application, domain, or both.

Check

  • No X-Frame-Options Header

  • No Content Security Policy (with the frame-ancestors directive)

PoC

BurpSuite

Manual

<!-- copy in a form field -->
<iframe src="http://www.google.com" width="250" height="250"></iframe>

Last updated

Was this helpful?