Email Flooding Without Knowing Victim Email Via CSRF
A password-reset endpoint on the target site accepted repeated GET requests without any anti-CSRF protection, and it automatically pulled the email address from the logged-in session. An attacker could make a logged-in victim's browser fire many reset requests, flooding the victim's inbox without ever knowing their email address.
medium.com
Published on medium.com
I’m Shuvo Kumar Saha , a security researcher and a bug bounty hunter from Bangladesh.
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 reset-credentials endpoint performed a state-changing action on a GET request, took the account email from the session rather than from validated input, and had no CSRF token or origin check.
Impact
A logged-in victim could receive a large number of password-reset emails, causing inbox flooding and possible mail-quota or denial-of-service effects; the report does not claim account takeover.
What the attacker needed
Victim is logged in; victim visits attacker page
How it was found
- Log in to the target account in a browser.
- Open an attacker-controlled page containing the CSRF payload while still logged in.
- The page loads and automatically fires many requests to the reset-credentials URL.
- The server reads the email from the logged-in session and sends a reset email each time.
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.
When you are logged in to a site, your browser sends your session cookie with every request to that site. If a page on another site can quietly make your browser send a request to the target, the target treats it as you. Here the reset-password link did not check that the request really came from the site itself, so a malicious page could trigger it over and over and the site would email the logged-in user each time.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.