EN \| Clickjacking to Account Takeover via Drag&Drop
The web application lacked the X-Frame-Options header, allowing an attacker to embed a user control panel page in an iframe and perform clickjacking. By using a drag-and-drop technique, an attacker could trick a victim into changing their email address, leading to account takeover.
Published on lutfumertceylan.com.tr
In August of this year, I found a Clickjacking vulnerability in a dutch company. Later I realized that this vulnerability could be upgraded to Account Takeover.
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
The application did not set the X-Frame-Options header, allowing pages to be framed by other sites.
Impact
An attacker could change a victim's email address, leading to account takeover, though the drag-and-drop requirement reduces the likelihood of success.
What the attacker needed
Victim visits attacker's page; victim performs drag-and-drop action
The fix
The vulnerability was fixed by the company, likely by setting the X-Frame-Options header.
How it was found
- The attacker identifies that the control panel page lacks X-Frame-Options.
- The attacker creates a malicious page that embeds the control panel in an iframe and uses CSS to overlay a drag-and-drop interface.
- The victim visits the attacker's page and is tricked into dragging their email address to a new one.
- The victim's email address is changed to one controlled by the attacker, enabling account takeover.
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 tricks you into clicking something you didn't intend to, by hiding a legitimate button under a fake one. Here, the site didn't stop other sites from embedding its pages, so an attacker could overlay a hidden control panel and make you drag your email address to a new one, giving them access to your account.
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.