Skip to content
UI spoofing Write-up Beginner

Finding Of Clickjacking Bug

The site was missing the X-Frame-Options header, so it could be embedded in an attacker's iframe. An attacker could trick a logged-in user into clicking controls on the framed site while believing they were clicking something else.

Mukilan Baskaran Follow

Published on infosecwriteups.com

Welcome back amazing another important topic on how I found out clickjacking bug. Initially after doing the recon phase did some SQL injection, XSS, XXE, and SSRF but I couldn’t find anything interesting.

Mukilan Baskaran, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application did not send the X-Frame-Options response header (or an equivalent frame-ancestors policy), allowing the page to be framed by other origins.

Impact

A user could be deceived into clicking on the framed site while thinking they were clicking something else, potentially revealing private information or allowing others to take control.

What the attacker needed

Victim visits attacker page; target page can be framed

The fix

The site should send the X-Frame-Options header and a Content-Security-Policy frame-ancestors directive to stop other origins framing it.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Clickjacking is when a bad site loads a real site invisibly inside a frame and places its own buttons on top, so your clicks land on the real site without you realising. The missing X-Frame-Options header is a setting that tells browsers not to allow a site to be framed by others. Without it, a user can be tricked into clicking things they did not intend to.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by Mukilan Baskaran

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.