Users with 2FA can have multiple sessions
When users enabled two-factor authentication, the regular logon hooks that normally log out other sessions were not executed. An attacker who already had a session could keep it active even after the victim logged in again, which could help in a larger attack.
- Triaged in 8 hours
- Fixed in 3 days
- Paid in 3 days
- Disclosed after 3 days
Summary by the program
While going live with additional 2FA options, a security researcher discovered that users that had enabled 2FA no longer executed regular logon hooks. Most of Legal Robot's logon hooks have no security impact, but one action logs out other sessions when a new session begins. While there is no specific vulnerability from this issue in isolation, an attacker could use this as part of a larger attack strategy.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the 2FA login flow bypassed the normal post-login hooks that terminate other sessions.
Impact
An attacker with an existing session could keep it alive after the victim logs in again, which could be useful as part of a larger attack, though the issue alone is not a specific vulnerability.
What the attacker needed
Victim has 2FA enabled; attacker already has a session
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 report has not been written yet. The Original tab links to the source.
Two-factor authentication (2FA) is an extra login step, like a code from your phone. Normally, when you log in, the system also signs out any other devices that were already logged in. Here, that sign-out step was skipped for people with 2FA, so an old session could stay open.
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.