CSRF and probable account takeover on https://www.niche.co
The CSRF protection on Niche's account settings endpoint was broken, allowing an attacker to trick a logged-in user into changing account information such as their email address. This did not enable account takeover because Niche relies on Twitter for credentials.
- Fixed in 11 days
- Disclosed after 18 days
Summary by the program
The researcher discovered that Niche’s CSRF protection was broken and that an attacker could trick a logged-in user into changing account information under the /account endpoint, including email address. This would not have enabled account takeover, however, since Niche does not handle account credentials independently of Twitter.
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 application did not properly validate a CSRF token or used an inadequate mechanism on the account settings endpoint.
Impact
An attacker could change account information, including the email address, but could not achieve account takeover because credentials are managed by Twitter.
What the attacker needed
Victim is logged in to Niche; victim visits attacker-controlled page
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.
CSRF (cross-site request forgery) is when a malicious website makes a logged-in user's browser send a request to another site without the user meaning to. Here, the site's protection against that was faulty, so an attacker could change some account details like the email address. However, because login is handled by Twitter, this did not let the attacker take over the account.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.