Mattermost Missing Authentication for Critical Function

Description

Mattermost versions 10.5.x <= 10.5.1, 9.11.x <= 9.11.9 fail to enforce MFA checks in PUT /api/v4/users/user-id/mfa when the requesting user differs from the target user ID, which allows users with edit_other_users permission to activate or deactivate MFA for other users, even if those users have not set up MFA.

Basic information

Type
reviewed
Severity
low
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2025-04-16 09:32:13 UTC
Updated
2025-04-23 15:15:34 UTC
GitHub reviewed
2025-04-16 14:52:34 UTC
NVD published
2025-04-16

EPSS Score

Score Percentile
0.18% 39.53%

CVSS Scores

Base score Version Severity Vector
2.2 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-306 Missing Authentication for Critical Function

Affected packages (3)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/mattermost/mattermost/server/v8 >= 10.5.0, < 10.5.2 10.5.2
go github.com/mattermost/mattermost/server/v8 >= 9.11.0, < 9.11.10 9.11.10
go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250314142426-c049748b8863 8.0.0-20250314142426-c049748b8863

References

cvelogic Threat Intelligence