Duplicate CSRF… Leads to
A self-XSS vulnerability in a user settings page could be exploited via a crafted link to change a victim's email address, leading to account takeover. The report was initially marked as a duplicate CSRF but later recognised as a P2 account takeover.
Bhavesh aka ShellBreaker Follow
Published on shellbreaker.hashnode.dev
Hey everyone, Bhavesh aka Shellbreaker here! Cybersecurity is my passion, both at work as a security engineer and after hours as a bug bounty hunter.
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 allowed a self-XSS payload to execute and had a password-less email change feature that lacked proper CSRF protection, enabling account takeover when chained.
Impact
An attacker could change a victim's email address, leading to account takeover.
What the attacker needed
Victim clicks a crafted link; victim is logged in
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.
Self-XSS is a type of cross-site scripting where the victim is tricked into running malicious code in their own browser, often by pasting it into a form. Here, the attacker combined it with a password-less email change feature to take over accounts. CSRF is a related attack that forces a logged-in user to perform unwanted actions.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.