CVE-2023-2788 Deactivated user can retain access using oauth2 api

Medium 6.2 Published Updated

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.

Weakness: CWE-613, CWE-862

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.

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-4x9v-95w9-xp83.

Is CVE-2023-2788 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free