CVE-2022-31013 Authentication bypass in Vartalap chat-server
Attackers can bypass authentication in Vartalap chat server due to missing await on async token verification, allowing unauthorized access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31013?
CVE-2022-31013 is a critical authentication bypass vulnerability in ramank775 chat-server, published on 31 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Chat Server is the chat server for Vartalap, an open-source messaging application. Versions 2.3.2 until 2.6.0 suffer from a bug in validating the access token, resulting in authentication bypass. The function `this.authProvider.verifyAccessKey` is an async function, as the code is not using `await` to wait for the verification result. Every time the function responds back with success, along with an unhandled exception if the token is invalid. A patch is available in version 2.6.0.
Which versions are affected by CVE-2022-31013?
It affects 1 product.
Products include Chat Server Project Chat Server.
How do I fix CVE-2022-31013?
No fix has been published for CVE-2022-31013 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-2022-31013 being exploited?
There is no known exploitation of CVE-2022-31013 in the wild and no public exploit code.
Sources
Also known as GHSA-xx4j-qqpp-v277.