CVE-2023-2788 Deactivated user can retain access using oauth2 api
An attacker with admin privileges can retain persistent access to Mattermost by obtaining an OAuth2 token while their account is deactivated.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-2788?
CVE-2023-2788 is a medium-severity authentication bypass vulnerability in Mattermost Mattermost, published on 16 Jun 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-2788?
It affects 1 product.
Products include Mattermost Mattermost.
How do I fix CVE-2023-2788?
No fix has been published for CVE-2023-2788 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2023-2788 being exploited?
There is no known exploitation of CVE-2023-2788 in the wild and no public exploit code.
Other vulnerabilities in Mattermost Mattermost
- CVE-2019-20851 Path traversal in n/a
- CVE-2024-39274 Malicious remote can add users to arbitrary teams and channels
- CVE-2024-39777 Malicious remote can invite itself to an arbitrary local channel
- CVE-2024-39830 Timing attack during remote cluster token comparison when shared channels are enabled
- CVE-2023-3615 Lack of server certificate validation in websockets connection
Sources
Also known as GHSA-4x9v-95w9-xp83.