“Who Sent That Email?” — How one tiny Hidden API turned into a spam machine
The server accepted a client-supplied email address in a notification endpoint without verifying ownership or applying rate limits, allowing an authenticated user to send unlimited notification emails to arbitrary recipients. This could be abused for spam and phishing.
Have you ever gotten an email from a service you use and thought, “I don’t remember asking for this”? I did — and the reason wasn’t a buggy UI.
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 endpoint lacked recipient validation and rate limiting, trusting the client-provided email address.
Impact
An authenticated user could send unlimited notification emails to arbitrary recipients, enabling spam and phishing.
What the attacker needed
A legitimate org account
The fix
The endpoint should validate that the email address belongs to the user and enforce per-recipient rate limits.
How it was found
- Log in to the app with a legitimate org account.
- Change a preference in the UI and observe two requests: preference update and notification send.
- Send the notification request to Repeater/Intruder and replace the email parameter with any target address.
- Fire repeated requests (100 used) and observe the server accepts them without 429 or ownership checks.
- Inspect the target inbox: notifications arrive.
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.
A web app had a feature that sent emails when you changed settings. The server trusted whatever email address the user's browser sent, so anyone logged in could make the server send emails to any address they wanted, as many times as they liked. This is like a restaurant taking orders from anyone who walks in and claiming they're from a table, without checking.
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.