{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-8071",
        "assignerOrgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
        "state": "PUBLISHED",
        "assignerShortName": "Mattermost",
        "dateReserved": "2024-08-22T06:35:49.726Z",
        "datePublished": "2024-08-22T06:39:54.830Z",
        "dateUpdated": "2024-08-22T13:33:55.204Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Mattermost",
                    "vendor": "Mattermost",
                    "versions": [
                        {
                            "lessThanOrEqual": "9.9.1",
                            "status": "affected",
                            "version": "9.9.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "9.5.7",
                            "status": "affected",
                            "version": "9.5.0",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "9.10.0"
                        },
                        {
                            "lessThanOrEqual": "9.8.2",
                            "status": "affected",
                            "version": "9.8.0",
                            "versionType": "semver"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.11.0"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.9.2"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.5.8"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.10.1"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.8.3"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "BhaRat (hackit_bharat)"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Mattermost versions 9.9.x &lt;= 9.9.1, 9.5.x &lt;= 9.5.7, 9.10.x &lt;= 9.10.0 and 9.8.x &lt;= 9.8.2 fail to restrict which roles can promote a user as system admin which allows a System Role with edit access to the permissions section of system console to update their role (e.g. member) to include the `manage_system` permission, effectively becoming a System Admin.</p>"
                        }
                    ],
                    "value": "Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0 and 9.8.x <= 9.8.2 fail to restrict which roles can promote a user as system admin which allows a System Role with edit access to the permissions section of system console to update their role (e.g. member) to include the `manage_system` permission, effectively becoming a System Admin."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 4.7,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-284",
                            "description": "CWE-284: Improper Access Control",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
                "shortName": "Mattermost",
                "dateUpdated": "2024-08-22T06:39:54.830Z"
            },
            "references": [
                {
                    "url": "https://mattermost.com/security-updates"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Update Mattermost to versions 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3 or higher.</p>"
                        }
                    ],
                    "value": "Update Mattermost to versions 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3 or higher."
                }
            ],
            "source": {
                "advisory": "MMSA-2024-00374",
                "defect": [
                    "https://mattermost.atlassian.net/browse/MM-58770"
                ],
                "discovery": "EXTERNAL"
            },
            "title": "System Role with edit access to permissions can elevate themselves to system admin",
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-22T13:16:11.392151Z",
                                "id": "CVE-2024-8071",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-22T13:33:55.204Z"
                }
            }
        ]
    }
}