Skip to content
Business logic Disclosed report Beginner CVE-2022-1385

Invitation Email is resent as a Reminder after invalidating pending email invites

A workspace owner could not cancel a pending email invitation, so an invited address could still join the workspace after the owner changed their mind. The reporter claims this could let an unwanted user join and see workspace information.

mr_anksec Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 23 days
  • Paid in 2 days
  • Disclosed after 57 days

Hello Team , I have found an issue through which unwanted users can be added to victim's workspace inside *.cloud.mattermost.com .

So I have created an workspace with my email id , let's say email1 and invited email2 to my workspace . Email2 is not having an account at mattermost , So email2 will be a fresh account. But I noticed that there is no option present to cancel the invite . This will lead to the issue . Let's see this in detail -

Real life case - Suppose a victim has invited someone to the workspace by putting email id but later on victim decided to withdraw the email id but there is no such option present due to which attacker can now join the workspace which leads to info disclosure . Also victim can mistype the email while inviting but victim now can't withdraw that email invite.

Mitigation - There should be an option present to cancel the invite sent to any email.

Steps to reproduce -

  1. create account at mattermost and then create a workspace for yourself inside - *.cloud.mattermost.com
  2. now invite email2 (email2 is not having account at mattermost) by invite option
  3. now you will notice that there is no way present to cancel the invite
  4. now email2 can easily join the workspace

Impact

Unwanted users can join the workspace leading to information disclosure.

The original report as published on HackerOne, by mr_anksec. 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 invitation feature had no revoke or cancel action, so a pending invite stayed valid until accepted.

Impact

An unwanted or mistyped invitee could join the workspace and potentially see its information.

What the attacker needed

A workspace on the cloud service; ability to invite by email; invitee has no account yet

The fix

The product should offer a way to cancel a pending invitation so it can no longer be accepted.

How it was found

  1. Create an account and a workspace on the cloud service.
  2. Invite a second email address that has no account yet.
  3. Observe that no option exists to cancel the pending invitation.
  4. The invited address can then join the workspace.

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 invite someone to a shared workspace by email, the system keeps that invitation open until the person accepts it. Here the owner had no button to withdraw the invitation, so the invited person could still get in later. That matters because the owner may have invited the wrong address or changed their mind.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Mattermost

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.