Mattermost versions 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2, 9.5.x <= 9.5.5 fail to prevent specifying a RemoteId when creating a new user which allows an attacker to specify both a remoteId and the user ID, resulting in creating a user with a user-defined user ID. This can cause some broken functionality in User Management such administrative actions against the user not working.
{
"cwe_ids": [
"CWE-284"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6428.json",
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "9.8.0"
},
{
"last_affected": "9.8.0"
},
{
"introduced": "9.7.0"
},
{
"last_affected": "9.7.4"
},
{
"introduced": "9.6.0"
},
{
"last_affected": "9.6.2"
},
{
"introduced": "9.5.0"
},
{
"last_affected": "9.5.5"
}
]
}
]
}{
"cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "9.5.0"
},
{
"fixed": "9.5.6"
},
{
"introduced": "9.6.0"
},
{
"fixed": "9.6.3"
},
{
"introduced": "9.7.0"
},
{
"fixed": "9.7.5"
},
{
"introduced": "9.8.0"
},
{
"fixed": "9.8.1"
}
]
}