CVE-2023-2193 Oauth authorization codes do not expire when deauthorizing an oauth2 app
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.
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-9h27-89mr-2qm2.