Skip to content
UI spoofing Write-up Beginner

Click Jacking Impact Privilage Escalation

The user management page lacked framing protections, so an attacker could embed it in a transparent iframe over a decoy page. A logged-in organisation owner could then be tricked into clicking through the ownership transfer flow, handing the organisation to the attacker.

medium.com

Published on medium.com

hi everyone, welcome back. after sleeping for more than 1 month and 1 day, i’m finally back again to write another write-up. in this write-up, i’m going to talk about a vulnerability that is considered 85% out of scope in many bug bounty programs. yep, clickjacking. but in the case that i found, it was different. the…

Firdaus Muhammad Ismail, 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 sensitive ownership-transfer actions had no framing protection and no re-authentication, so they could be triggered by clicks on an embedded page.

Impact

An attacker could take over an organisation by tricking its owner into transferring ownership, gaining privileged access.

What the attacker needed

Attacker has an account in the org; victim is a logged-in owner; victim clicks the attacker's page

The fix

The page should send X-Frame-Options and Content-Security-Policy frame-ancestors headers and require re-authentication for sensitive owner actions.

How it was found

  1. Invite a second account to the organisation and accept the invitation so the victim account is the owner.
  2. Build a clickjacking page that frames the user management screen and save it as an HTML file.
  3. Set the frame's opacity to zero and place deceptive buttons over the real controls.
  4. Get the victim owner to open the page and click the button that starts changing the account owner.
  5. Have the victim select the attacker as the new owner and confirm the transfer.
  6. Refresh the user management page as the attacker, then remove the previous owner.

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 hides a real website inside an invisible frame on a page the attacker controls. The victim sees innocent-looking buttons, but their clicks land on the hidden site, which they are already logged into. Here the hidden page was the user management screen, so the owner's clicks silently transferred ownership of the organisation to the attacker.

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.