Skip to content
CSRF Disclosed report Beginner

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.

asad0x01_ Follow

Originally disclosed on HackerOne

High 7.3 View original
  • 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.

The original report as published on HackerOne, by asad0x01_. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by asad0x01_

View all

2 more disclosed reports, best first.

More from Flickr

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.