Skip to content
Account takeover Disclosed report Intermediate CVE-2021-32676

Session fixation on public talk links

A talk room protected by a password did not renew the session identifier after the password was entered, so an attacker who obtained a guest's cookies before login could reuse them to access the conversation. The attacker could take over the guest's session on that talk room.

rtod Follow

Originally disclosed on HackerOne

Bounty$100 Medium 6.4 View original
  • Disclosed after 46 days
  1. userA shares a talk room and protects it with a password
  2. userB opens links but doesn't enter the password yet
  3. Attacker steals the cookies from userB
  4. userB logs in
  5. attacker is now also able to read the conversation etc

Impact

In short the attacker is able to take over the session of the guest userB on this talk room.

The session id should be renewed once the password is entered.

The original report as published on HackerOne, by rtod. 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 did not rotate the session identifier when a guest authenticated to a password-protected talk room.

What the attacker needed

Attacker can steal the victim's cookies; victim opens a password-protected talk link; victim enters the password after theft

How it was found

  1. A user shares a talk room and protects it with a password.
  2. A second user opens the link but does not enter the password yet.
  3. An attacker steals the second user's cookies.
  4. The second user enters the password and logs in.
  5. The attacker can now read the conversation using the stolen 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.

When you visit a website, the server gives your browser a session identifier (a cookie) so it can remember who you are. If that identifier stays the same before and after you prove you know a password, anyone who stole the old identifier can use it to act as you. Here the password check did not issue a fresh identifier, so a stolen cookie still worked afterwards.

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 rtod

View all

33 more disclosed reports, best first.

More from Nextcloud

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.