One of the API in Mattermost version 6.3.0 and earlier fails to properly protect the permissions, which allows the system administrators to combine the two distinct privileges/capabilities in a way that allows them to override certain restricted configurations like EnableUploads.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1003.json",
"cwe_ids": [
"CWE-268"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "6.3"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.4.0"
}
],
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*"
}