CVE-2023-2788: Mattermost - Broken Access Control
- Cve: CVE-2023-2788
- Name: Mattermost - Broken Access Control
- Description: Mattermost fails to check if an admin user account active after an oauth2 flow is started, allowing an attacker with admin privileges to retain persistent access to Mattermost by obtaining an oauth2 access token while the attacker's account is deactivated.
- Impact: Attackers can maintain persistent admin access even after account deactivation, leading to potential full system compromise.
- Remediation: Implement proper account status verification after OAuth2 flow and ensure deactivated accounts cannot obtain tokens.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: admin_privileges
- Requirements: Attacker needs admin privileges and to initiate OAuth2 flow
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00504
- Epss percentile: 0.43946
- Assignee: [email protected]
- Published at: 2023-06-16T09:15:09Z
- Age in days: 1257
- Modified at: 2026-06-17T05:53:26Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-2788
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-862 | Missing Authorization |
| CWE-613 | DEPRECATED: Insufficient Session Expiration |
References
| Url | Source | Tags |
|---|---|---|
| https://mattermost.com/security-updates/ | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mattermost:mattermost | = 7.10.0; >= 7.9.0, <= 7.9.3; >= 7.8.0, <= 7.8.4; >= 7.1.0, <= 7.1.9 | no | nvd | /v1/products/mattermost/mattermost |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts