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

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server5.3.2-0.20230825233148-f787fd63368aGHSA-r67m-mf7v-qp7j
Gogithub.com/mattermost/mattermost-server/v55.3.2-0.20230825233148-f787fd63368aGHSA-r67m-mf7v-qp7j
Gogithub.com/mattermost/mattermost-server/v67.8.12GHSA-r67m-mf7v-qp7j
Gogithub.com/mattermost/mattermost-server/v65.3.2-0.20230825233148-f787fd63368aGHSA-r67m-mf7v-qp7j
Gogithub.com/mattermost/mattermost/server/v88.0.0-20230825233148-f787fd63368aGHSA-r67m-mf7v-qp7j
Gogithub.com/mattermost/mattermost/server/v88.0.4GHSA-r67m-mf7v-qp7j
Gogithub.com/mattermost/mattermost/server/v88.1.3GHSA-r67m-mf7v-qp7j
Gogithub.com/mattermost/mattermost/server/v89.0.1GHSA-r67m-mf7v-qp7j

Affected products (as reported)

VendorProductVersions
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

References