Miggo Logo

CVE-2023-6202: Mattermost Improper Access Control vulnerability

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.3965%
Published
11/27/2023
Updated
11/28/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/mattermost/mattermost/server/v8go>= 9.1.0, < 9.1.19.1.1
github.com/mattermost/mattermost/server/v8go>= 9.0.0, < 9.0.29.0.2
github.com/mattermost/mattermost/server/v8go< 8.1.48.1.4
github.com/mattermost/mattermost-server/v6go< 7.8.137.8.13

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description explicitly identifies the /plugins/focalboard/api/v2/users endpoint as the attack vector. In typical Go web service patterns:

  1. HTTP handler functions are directly responsible for request authorization
  2. The vulnerability pattern matches missing permission checks before user data retrieval
  3. The CWE-284 classification confirms this is an access control issue at the endpoint handler level
  4. The affected versions' patch notes suggest authorization was added to this endpoint While exact function names aren't provided, the standard implementation would require a handler function like handleGetUser to process user retrieval requests, which would be responsible for performing authorization checks before returning sensitive user data.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

M*tt*rmost **ils to p*r*orm prop*r *ut*oriz*tion in t** `/plu*ins/*o**l*o*r*/*pi/v*/us*rs` *n*point *llowin* *n *tt**k*r w*o is * *u*st us*r *n* knows t** I* o* *not**r us*r to **t t**ir in*orm*tion (*.*. n*m*, surn*m*, ni*kn*m*) vi* M*tt*rmost *o*r*

Reasoning

T** vuln*r**ility **s*ription *xpli*itly i**nti*i*s t** /plu*ins/*o**l*o*r*/*pi/v*/us*rs *n*point *s t** *tt**k v**tor. In typi**l *o w** s*rvi** p*tt*rns: *. *TTP **n*l*r *un*tions *r* *ir**tly r*sponsi*l* *or r*qu*st *ut*oriz*tion *. T** vuln*r**il