Mattermost versions 9.5.x <= 9.5.3, 9.7.x <= 9.7.1, 9.6.x <= 9.6.1 and 8.1.x <= 8.1.12 fail to check if the email signup configuration option is enabled when a user requests to switch from SAML to Email. This allows the user to switch their authentication mail from SAML to email and possibly edit personal details that were otherwise non-editable and provided by the SAML provider.
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "9.5.0"
},
{
"last_affected": "9.5.3"
},
{
"introduced": "9.7.0"
},
{
"last_affected": "9.7.1"
},
{
"introduced": "9.6.0"
},
{
"last_affected": "9.6.1"
},
{
"introduced": "8.1.0"
},
{
"last_affected": "8.1.12"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5270.json",
"cna_assigner": "Mattermost",
"cwe_ids": [
"CWE-284"
]
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "8.1.0"
},
{
"fixed": "8.1.13"
},
{
"introduced": "9.5.0"
},
{
"fixed": "9.5.4"
},
{
"introduced": "9.6.0"
},
{
"fixed": "9.6.2"
},
{
"introduced": "9.7.0"
},
{
"fixed": "9.7.2"
}
]
}