Skip to content
Cache bugs Disclosed report Beginner

Inadequate cache control in gitter allows to view private chat room

Gitter did not set cache-control headers on private chat rooms, so the browser stored the page. After signing out, pressing the back button showed the private room and even allowed chatting while logged out.

Ananda Dhakal Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 25 days

Hi Gitlab,

Summary: I have found a inadequate cache control vulnerability in Gitter.

Description: You can use the backspace button to get the full access to the account. There is no cache control and the browser saves sensitive information of a private chat room. This report is influenced by the disclosed report #407763. The impact and attack scenario is also the same.

Steps To Reproduce:

  1. Sign in to Gitter
  2. Go to a private room
  3. Sign-out from the device
  4. Click on backspace
  5. Chat in the private room

You can access the private room without actually being logged in. You can also chat from the logged out account.

Impact

Sensitive information can get disclosed through a single backspace.

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

A person with access to the same browser after logout could view private chat content and send messages in the room without being logged in.

What the attacker needed

Access to the same browser after logout; victim previously opened a private room

How it was found

  1. Sign in to Gitter.
  2. Open a private room.
  3. Sign out from the device.
  4. Press the back button.
  5. Send a message in the private room.

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 web page, your browser often keeps a copy so it can show it again quickly. If a site does not tell the browser not to keep private pages, someone using the same computer after you log out can press the back button and still see your private chat. Here the page even let the logged-out person send messages.

What is Cache bugs?

A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.

More by Ananda Dhakal

View all

4 more disclosed reports, best first.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Web cache poisoning and deception

The lesson behind this report.

A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.