Skip to content
UI spoofing Write-up Beginner

From Zero Reports to My First Hall of Fame

A login page lacked X-Frame-Options and CSP headers, allowing the page to be embedded in an iframe. An attacker could use this for clickjacking to trick users into unintended actions.

medium.com

Published on medium.com

For almost two years, I hunted bugs without a single acknowledgment. Late nights, no triaged reports, no bounties — just learning, failing, and trying again.

Suraj Kumar H M, on medium.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 login page did not send the X-Frame-Options or Content-Security-Policy frame-ancestors headers, so browsers allowed it to be embedded in a frame.

Impact

An attacker could frame the login page and use clickjacking to trick users into unintended actions, though the text does not describe a specific attack scenario.

What the attacker needed

Victim visits attacker-controlled page

The fix

The bug was fixed, though the text does not state how.

How it was found

  1. Notice that the login page lacks X-Frame-Options and CSP headers.
  2. Load the login page inside an iframe to confirm it renders.
  3. Document the proof of concept with screenshots and impact, then report 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 malicious site secretly loads a real site in an invisible frame and tricks you into clicking something you did not intend, like a button. The site here did not send headers that tell browsers to refuse being framed, so it was possible. The fix is to add those headers.

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.

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.