When a Simple Request Replay Broke the Rules: How I Found a Hidden Email Logic Flaw in a Gaming…
The backend did not enforce the same limit on the number of email addresses per account that the user interface imposed, so replaying the add-email request allowed unlimited addresses to be added. However, each address still required verification, so the core security control was not broken.
Published on medium.com
There’s a funny thing about bug bounty hunting: Most days feel ordinary — you poke around, run some tests, replay a few requests, and… nothing.
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 server-side code did not enforce the same limit on email addresses that the user interface displayed, trusting the client to respect it.
Impact
An attacker could add an unlimited number of email addresses to their account, but each address still required verification, so the core security control was not broken and the impact was limited.
What the attacker needed
A user account on the platform; ability to intercept and modify requests
How it was found
- Add a new email address in the account settings and intercept the request in a proxy tool.
- Modify the email parameter to a different address and forward the request.
- Repeat the replay multiple times, each time with a new email address.
- Observe that each replay adds a new email address to the account without any limit.
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 website's user interface (the buttons and forms you see) can stop you from doing something, but the server behind it must also check. Here, the server did not check how many email addresses an account could have, so someone could keep sending the same request to add more. The impact was limited because each email still had to be verified before it could be used.
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.