Vulnerability · Published Nov 6, 2023 · Assigned by Mattermost
CVE-2023-5968Password hash in response body after username update
Medium 4.9
In plain English
A medium-severity information exposure in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)0.5%top 56.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official description
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 5.3.2-0.20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost-server/v5 | 5.3.2-0.20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost-server/v6 | 7.8.12 | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost-server/v6 | 5.3.2-0.20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.4 | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | 8.1.3 | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | 9.0.1 | GHSA-r67m-mf7v-qp7j |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 0 – through 7.8.110 – through 8.0.30 – through 8.1.20 – through 9.0.0 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N