CSRF in Account Deletion feature (https://www.flickr.com/account/delete)
The account deletion form lacked a CSRF token because the site's login provider changed, so the old Yahoo authentication code was no longer present. An attacker could trick a logged-in user into deleting their own account.
- Triaged in 5 hours
- Fixed in 12 months
- Paid in 26 days
- Disclosed after 2.3 years
Summary by the program
CSRF was missing in Account Deletion form due to switching login providers. @asad0x01_ found the vulnerability and reported it concisely, even with a video POC.
The issue was fixed with 60 days, but we were slow to resolve the ticket and disclose.
Summary by the researcher
Sometimes you just get lucky. When Flickr was owned by Yahoo, they used to use Yahoo Authentication system (https://login.yahoo.com) . When Flickr got sold to SmugMug, they introduced new login flow (https://identity.flickr.com). Basically in their previous login flow, they used to use the Yahoo authentication code as CSRF token while deleting account. While testing the account deletion feature, I noticed that there were no CSRF token :/ Later found out it was because of the new login flow.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the account deletion form relied on the old Yahoo authentication code as its CSRF token, and when the login flow moved to a new identity provider that code was no longer available, leaving the form without any CSRF protection.
Impact
A logged-in user who visited an attacker's page could have their Flickr account deleted without intending to.
What the attacker needed
Victim is logged in to Flickr; victim visits an attacker-controlled page
The fix
The issue was fixed within 60 days; the text does not say how.
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 report has not been written yet. The Original tab links to the source.
When you log in to a website, your browser holds a session cookie so the site knows who you are. A CSRF attack makes your browser send a request to that site from another page, and the site treats it as if you did it yourself. Here the delete-account form had no secret token to prove the request came from the real page, so another site could submit it for you.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.