Skip to content
Account takeover Disclosed report Beginner

Previously created sessions continue being valid after MFA activation

When a user activates two-factor authentication, other existing sessions for the same account remain valid. An attacker who already has a session could keep using the account even after the owner turns on 2FA.

brdoors3 Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 10 days
  • Paid in 7 days
  • Disclosed after 14 days

Summary by the program

@brdoors3 found a design issue in MFA implementation: previously created sessions aren't invalidated after MFA activation. No users affected.

Thanks, @brdoors3!

The report

Hi team,

I found one issue related to your 2FA system on https://account.grammarly.com/security

POC

1 access the same account on https://account.grammarly.com in two devices 2 on device 'A' go to https://account.grammarly.com/security > complete all steps to activate the 2FA system

Now the 2FA is activated for this account

3 back to device 'B' reload the page

The session still active

Impact

In this scenario when 2FA is activated the other sessions of the account are not invalidated.

2FA is required to login. I believe the expected and recommended behavior here is to terminate the other sessions> request a new login> request the 2FA code> so then give the account access again

The original report as published on HackerOne, by brdoors3. 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 application does not revoke existing sessions when MFA is enabled.

What the attacker needed

Attacker already has a valid session; victim enables 2FA

The fix

The application should terminate all other sessions when 2FA is activated, requiring a fresh login and 2FA code before access is granted again.

How it was found

  1. Log in to the same account on two devices.
  2. On device A, go to the security page and complete all steps to activate 2FA.
  3. On device B, reload the page.
  4. Observe that the session on device B is still active.

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) adds a second proof of identity, such as a code from a phone, when you log in. The report says that if someone was already logged in on another device, turning on 2FA does not log them out. So a person who had stolen a login session could stay in the account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by brdoors3

View all

3 more disclosed reports, best first.

More from Superhuman (formerly Grammarly)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.