{"id":"CVE-2024-8071","published":"2024-08-22T06:39:54Z","modified":"2024-08-22T13:33:55Z","title":"System Role with edit access to permissions can elevate themselves to system admin","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00344,"percentile":0.28712,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":5.74},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 9.9.0, <= 9.9.1",">= 9.5.0, <= 9.5.7","9.10.0",">= 9.8.0, <= 9.8.2"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.11.0","9.9.2","9.5.8","9.10.1","9.8.3"]}],"solutions":{"items":["Update Mattermost to versions 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-22T13:16:11.392151Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=9.9.0, <9.9.2",">=9.5.0, <9.5.8",">=9.10.0, <9.10.1",">=9.8.0, <9.8.3","all versions"],"patched":["9.9.2","9.5.8","9.10.1","9.8.3"],"from":["GHSA-5263-pm2h-m7hw","GO-2024-3094"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=9.5.0+incompatible, <9.5.8+incompatible",">=9.8.0+incompatible, <9.8.3+incompatible",">=9.9.0+incompatible, <9.9.2+incompatible",">=9.10.0+incompatible, <9.10.1+incompatible"],"patched":["9.5.8+incompatible","9.8.3+incompatible","9.9.2+incompatible","9.10.1+incompatible"],"from":["GO-2024-3094"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-3094"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-3094"],"provenance":"source"}],"summary":{"text":"Mattermost's role and permissions handling fails to restrict which roles may promote a user to system admin, affecting the Mattermost product in versions 9.9.x up to 9.9.1, 9.5.x up to 9.5.7, 9.10.x up to 9.10.0, and 9.8.x up to 9.8.2. A network-reachable attacker who already holds a System Role with edit access to the permissions section of the system console, and is therefore authenticated with high privileges, can add the manage_system permission to their own role, becoming a System Admin with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:41Z"},"euvd":{"id":"EUVD-2024-2499","exploited":false,"provenance":"source"}}