The “Blind Sniper” Attack: Spamming Thousands of Users Without Knowing Their Email Addresses
An endpoint that resends confirmation emails accepted a sequential user ID instead of an email address, and it did not check whether the account was already verified or limit how often it was called. An attacker could therefore send unlimited emails to any user, or spray the whole user base, without knowing any email addresses.
systemweakness.com
Published on systemweakness.com
This is classic. But it has a limitation: You need to know the victim’s email address.
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 resend-confirmation endpoint trusted a client-supplied sequential user ID without verifying account status or applying any rate limit.
Impact
An attacker could flood a single user's inbox or spray unsolicited emails to a large range of users, which could damage the sending domain's reputation and cost the company money through its email provider.
What the attacker needed
A free account; ability to intercept HTTP requests
How it was found
- Create an account and leave it unverified, then click the resend confirmation email banner.
- Intercept the request and notice it contains only a user ID, no email address.
- Verify the account and resend the request for the same ID; it still returns 200 OK.
- Change the user ID to a neighbouring number and resend; it still returns 200 OK.
- Use Burp Intruder with a null payload to send many requests for one ID, or iterate the ID position across a range.
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.
Many websites let you ask them to resend a confirmation email. Normally you type your email address, but here the request only contained a number that identifies the account. Because the server did not check that the account was unverified or limit repeated requests, anyone could send that request over and over for any number, flooding strangers' inboxes.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.