{"id":"CVE-2023-2515","published":"2023-05-12T08:53:44Z","modified":"2024-12-06T23:04:24Z","title":"Privilege escalation to system admin via personal access tokens","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost fails to restrict a user with permissions to edit other users and to create personal access tokens from elevating their privileges to system admin\n","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.00469,"percentile":0.41449,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":8.29},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["<= 7.1.7","<= 7.7.3","<= 7.8.2","<= 7.9.1"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["7.1.8","7.7.4","7.8.3","7.9.2"]}],"solutions":{"items":["Update Mattermost Server to versions 7.1.8, 7.7.4, 7.8.3, 7.9.2 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-06T22:51:44.100352Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["<7.1.8",">=7.2.0, <7.7.4",">=7.8.0, <7.8.3",">=7.9.0, <7.9.2"],"patched":["7.1.8","7.7.4","7.8.3","7.9.2"],"from":["GHSA-7g2v-2frm-rg94"],"provenance":"source"}],"summary":{"text":"Mattermost contains an authorization flaw (classified as Incorrect Authorization) in its user-management component, where users with permissions to edit other users and to create personal access tokens are not prevented from elevating their privileges to system admin. An attacker who already holds those user-editing and token-creation permissions, and is authenticated to the Mattermost instance over the network, can use them to gain system admin rights, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:05Z"},"euvd":{"id":"EUVD-2023-1492","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-3257","published":"2022-09-23","fixed":"7.2.0","kev":false,"link":{"from":"CVE-2022-3257","to":"CVE-2023-2515","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server/v6","fromFixed":"7.2.0","toFixed":"7.7.4","daysApart":231}]}},{"cve":"CVE-2023-6202","published":"2023-11-27","fixed":"7.8.13","kev":false},{"cve":"CVE-2023-6458","published":"2023-12-06","fixed":"7.8.14","kev":false},{"cve":"CVE-2023-6459","published":"2023-12-06","fixed":"7.8.14","kev":false},{"cve":"CVE-2023-2515","published":"2023-05-12","fixed":"7.9.2","kev":false},{"cve":"CVE-2023-2783","published":"2023-06-16","fixed":"7.10.1","kev":false,"link":{"from":"CVE-2023-2515","to":"CVE-2023-2783","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server/v6","fromFixed":"7.9.2","toFixed":"7.9.4","daysApart":35}]}},{"cve":"CVE-2023-4105","published":"2023-08-11","fixed":"7.10.4","kev":false},{"cve":"CVE-2023-4106","published":"2023-08-11","fixed":"7.10.4","kev":false}],"package":"Go:github.com/mattermost/mattermost-server/v6"}}