Skip to content
Info disclosure Disclosed report Beginner

Uninstalling Mattermost Launcher for Windows (64-bit), then reinstalling keeps you logged in without authentication

The Mattermost Desktop App for Windows leaves session data behind after uninstallation, so reinstalling automatically logs the user back in without requiring credentials. An attacker with access to the same computer could take over the account and access messages and admin panel.

annonmous Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 7 days
  • Disclosed after 37 days

Hello Team,

Hope you are doing great and enjoying a lot. This issue affected me directly and I was very amazed by it, so I felt it was important to report it in case it was not known. It is resulting unintended behavior:

In addition to this report is very similar to both of already been Resolved hackerone reports https://hackerone.com/reports/238260 https://hackerone.com/reports/1278261

Steps to reproduce:

  1. Install The Mattermost Desktop App for Windows (64-bit).
  2. Enter the Display name with Server URL
  3. Login to Mattermost Desktop App
  4. Uninstall Mattermost Desktop App
  5. Reinstall Mattermost Desktop App

Conclusion: You will automatically be logged back in to your account, even though you uninstalled Mattermost Desktop App from your computer and did not enter a username/password to login to the fresh Mattermost Desktop App installation.

Thanks and have a good day ;) Regards @annonmous

Impact

The Mattermost Desktop App uninstall process is fully automatic, there is no prompt or indication that there is data left behind. I believe it is reasonable to expect that when uninstalling Mattermost Desktop App users session data should have been removed. If I am a user on a shared user account (for example, if I borrowed a computer and I installed Mattermost Desktop App, but uninstalled it later), they can take full control of my account after the fact.

When testing this, I could access all of my messages and data, and even access the Mattermost Desktop App admin panel for my team that I am an administrator of.

The original report as published on HackerOne, by annonmous. 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 uninstaller does not delete stored session data (such as cookies or tokens) from the user's profile directory.

Impact

An attacker with access to the same computer could take full control of the user's account, read all messages, and access the admin panel if the user is an administrator.

What the attacker needed

Access to the same computer user account; Mattermost Desktop App previously installed and logged in

The fix

The uninstaller should remove stored session data so reinstallation requires login.

How it was found

  1. Install the Mattermost Desktop App for Windows (64-bit).
  2. Enter the display name and server URL.
  3. Log in to the Mattermost Desktop App.
  4. Uninstall the Mattermost Desktop App.
  5. Reinstall the Mattermost Desktop App.

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 uninstall a program, you expect it to remove your login information too. Here, the Mattermost desktop app kept the login session on the computer, so anyone who reinstalled it could get back into the account without a password. This is like leaving a spare key under the mat after moving out.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Mattermost

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.