$500 Bounty: How a Logic Flaw Allowed Silent Logins in a Financia
The server used the User-Agent header from the authentication request to decide whether to send a security alert, and an unrecognised value stopped all notifications. An attacker with valid credentials could log in to a victim's account without triggering any alert.
In this write-up, I’m going to present a Business Logic Flaw + Insecure Design report submitted to a Bug Bounty program that allowed a Silent Login to any user account on the platform.
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 notification logic treated an unrecognised User-Agent as a reason to skip the security alert instead of still sending it.
Impact
An attacker who already has valid credentials could log in to a victim's account without triggering any security alert, though the text does not show how those credentials would be obtained.
What the attacker needed
Valid credentials for the victim account
How it was found
- Create an account and log in to receive the security alert notification.
- Notice that the notification includes the browser name taken from the authentication request.
- Send the authentication request with a modified User-Agent value.
- Observe that the server stops sending the session notification and email alerts.
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 log in, the site usually sends you an email or notification saying a new session started. Here, the site looked at the browser name you sent with the login request to decide whether to send that alert. If the name was not a known browser, it sent nothing, so someone with the password could log in quietly.
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.