Skip to content

HackerOne

Mattermost

Every publicly disclosed report for Mattermost, what kind of bugs they were and what was paid.

disclosed reports
21
with a public bounty
8
median public bounty
$150
public bounties in all
$3,300
Scope, rewards and live status on bugbounty.fyi Accepting reports Bounty up to $2,000 9 targets in scope

Disclosed reports

Newest first. Only what Mattermost chose to make public.

DoS $150

Posts sent via websockets aren't sanitized properly

Posts created through the API carry a metadata field that the server stores and rebroadcasts over the websocket without validating its contents, while the same data is stripped when the post is later fetched normally. An attacker with a normal account could therefore inject arbitrary embed data that other clients render, including a non-string message that crashes the web and desktop apps, or a fake YouTube embed used for phishing.

Mattermost

Low
XSS $150

Reflected XSS in OAuth complete endpoints

The OAuth completion endpoints reflect the redirect_to value taken from the state query parameter into the page without sanitising it. An attacker could craft a link that runs JavaScript in the victim's browser and make requests on the victim's behalf.

Mattermost

Low
Info disclosure $750

Reset password link sent over unsecured http protocol

The password reset link emailed to users was generated with an unsecured http scheme rather than https. An attacker positioned on the network could sniff the link and use it to reset the victim's password if the victim did not complete the reset.

Mattermost

High
DoS

DoS via Playbook

A normal user could create a playbook whose template fields had no size limit, allowing a value of up to 50MB. Running that playbook made the server consume large amounts of computing resources, stop responding and crash, taking the application down for all users.

Mattermost

Medium
DoS

DoS via Automatic Response Message

The automatic response message field had no size limit or validation, so a user could store an extremely large value. Sending several such requests at once consumed server resources and crashed the server, making the application unavailable to all users.

Mattermost

Medium
DoS $150

DOS: out of memory from gif through upload api

A crafted GIF with maximum dimensions sent through the upload API causes the server to allocate over 4 GB of memory, leading to a crash. An attacker could kill the server process by uploading such a file.

Mattermost

Low
DoS $150

DoS via large console messages

A server that logs console messages at debug level can be made unresponsive by sending a slash command with a value over about 64KB, because the error log includes the oversized command. An attacker can repeatedly crash the server, denying service to all users.

Mattermost

Low
XSS

html injection via invite members can be leads account takeover

The invite-members email sent by the service rendered user-supplied HTML from the custom message field without sanitising it. An attacker could send an invite containing a link to a malicious site and an input field, to trick the recipient into clicking through or entering credentials.

Mattermost

Low
Account takeover

Bypass Email Verification in Customer Portal

The OTP sent to a victim's email could be used to verify an attacker's email address. By intercepting the verification request and proceeding through the payment step, the attacker could bypass email verification and use the account normally.

Mattermost

Low
Account takeover

Account takeover due to misconfiguration

The report describes a flaw where email verification links sent during an email address change remain valid even after the user changes their email again and verifies the new address. An attacker who controls the originally mistyped email address could use the still-active link to verify and take over the account.

Mattermost

Low
Access control

Privilege Escalation leading to post in channel without having privilege

A channel owner could remove members' permission to post in a channel, but a member could still post by replaying a previously captured request from a channel where posting was allowed. This let a user without posting rights comment in a read-only channel.

Mattermost

Low
XSS $900

Mattermost Server OAuth Flow Cross-Site Scripting

The OAuth flow reflected an unsanitised query parameter into an HTML error page, allowing a crafted link to run script in the victim's browser. An attacker could hijack a victim's session to read their messages, or, if the victim was an administrator, add a new administrator.

Mattermost

High
Path traversal

Persistant Arbitrary code execution in mattermost android

The exported ShareActivity in the Mattermost Android app saved an incoming shared file using a filename taken from the sending content provider without sanitising it, so a crafted name containing directory traversal could overwrite a native library inside the app's private storage. On the next launch the app loads that library, giving the attacker arbitrary code execution in the app.

Mattermost

High
Info disclosure

[mattermost.com] CORS Misconfiguration leakage of admin users

The WordPress REST API user endpoint on the company website returned user details such as id, name and login name, and the reporter claimed a CORS misconfiguration let a cross-origin page read that data with credentials. The program rejected it, saying the site is out of scope and the exposed information is already public.

Mattermost

XSS $900

Mattermost Server v5.32 > v5.36 Reflected XSS in OAuth flow

The OAuth flow in Mattermost server fails to sanitise the 'redirect_to' query parameter before reflecting it in an HTML error page, allowing an attacker to inject JavaScript. An unauthenticated attacker could trick a victim into clicking a crafted link and execute arbitrary JavaScript in the victim's browser, potentially reading messages or, if the victim is an admin, promoting the attacker's account to system administrator.

Mattermost