CVE-2023-2193 Oauth authorization codes do not expire when deauthorizing an oauth2 app

Medium 6.5 Published Updated

Attackers can reuse expired OAuth2 authorization codes to generate access tokens and take over accounts in Mattermost.

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-2193?

CVE-2023-2193 is a medium-severity missing authorization vulnerability in Mattermost Mattermost, published on 20 Apr 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker possessing an authorization code to generate an access token.

Weakness: CWE-862

Which versions are affected by CVE-2023-2193?

It affects 1 product.

Products include Mattermost Mattermost.

How do I fix CVE-2023-2193?

No fix has been published for CVE-2023-2193 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-2193 being exploited?

There is no known exploitation of CVE-2023-2193 in the wild and no public exploit code.

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-9h27-89mr-2qm2.

Is CVE-2023-2193 in your software?

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

Check your SBOMs for free