Auth bypass in Chat Server Project
CVE-2022-31013
- CVSS v3
- 9.1 Critical
- Public exploits
- None known
- EPSS
- 0.015 · 74.9th percentile
- Published
- 2022-05-31
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.015, 74.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Chat Server Project
- Ramank775 Chat-Server — versions >= 2.3.2, < 2.6.0
Weakness classification (CWE)
References
- github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277 (Patch, Third Party Advisory)
- github.com/ramank775/chat-server/discussions/78 (Third Party Advisory, Issue Tracking)
- github.com/ramank775/chat-server/releases/tag/v2.6.0 (Third Party Advisory, Release Notes)