Skip to content
Business logic Disclosed report Intermediate

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.

fawazxq Follow

Originally disclosed on HackerOne

Informational View original
  • 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.

The original report as published on HackerOne, by fawazxq. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by fawazxq

View all

2 more disclosed reports, best first.

More from Legal Robot

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.