Skip to content
Access control Disclosed report Intermediate CVE-2023-28316

Improper Access Control - Generic

The 2FA implementation on Rocket.Chat does not invalidate other active sessions when 2FA is activated. An attacker who already has access to an account could keep that access even after the legitimate user enables 2FA.

priyank_parmar Follow

Originally disclosed on HackerOne

  • Triaged in 8 days
  • Fixed in 2.6 years
  • Disclosed after 2.6 years

Summary by the program

A security vulnerability has been discovered in the implementation of 2FA on the rocket.chat platform, where other active sessions are not invalidated upon activating 2FA. This could potentially allow an attacker to maintain access to a compromised account even after 2FA is enabled.

The original report as published on HackerOne, by priyank_parmar. 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

Impact

An attacker with an existing session could maintain access to a compromised account even after the victim enables 2FA.

What the attacker needed

Attacker already has an active session; victim enables 2FA

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. Normally, turning on 2FA should also end any other sessions that are already logged in, so an intruder cannot stay in. Here, those other sessions kept working, so someone who was already inside the account could remain inside.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Rocket.Chat

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.