Miggo Logo

CVE-2024-32939:
Mattermost doesn't redact remote users' original email addresses

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.13337%
Published
8/22/2024
Updated
8/23/2024
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.9.0, < 9.9.29.9.2
github.com/mattermost/mattermost/server/v8go>= 9.5.0, < 9.5.89.5.8
github.com/mattermost/mattermost/server/v8go>= 9.10.0, < 9.10.19.10.1
github.com/mattermost/mattermost/server/v8go>= 9.8.0, < 9.8.39.8.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper access control (CWE-284) and cleartext storage (CWE-312) in shared channel contexts. Key functions were identified by analyzing: 1) Where user data sanitization occurs (SanitizeProfile), 2) Core user retrieval logic (GetUser), and 3) Serialization/redaction rules (GetSanitizedOptions). These areas align with the described failure to redact remote user emails despite configuration. Confidence is medium due to indirect inference from the vulnerability pattern, as no direct commit/patch data was available for verification.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

M*tt*rmost v*rsions *.*.x <= *.*.*, *.*.x <= *.*.*, *.**.x <= *.**.*, *.*.x <= *.*.*, w**n s**r** ***nn*ls *r* *n**l**, **il to r****t r*mot* us*rs' ori*in*l *m*il ***r*ss*s stor** in us*r props w**n *m*il ***r*ss*s *r* ot**rwis* *on*i*ur** not to **

Reasoning

T** vuln*r**ility st*ms *rom improp*r ****ss *ontrol (*W*-***) *n* *l**rt*xt stor*** (*W*-***) in s**r** ***nn*l *ont*xts. K*y *un*tions w*r* i**nti*i** *y *n*lyzin*: *) W**r* us*r **t* s*nitiz*tion o**urs (S*nitiz*Pro*il*), *) *or* us*r r*tri*v*l lo