PT-2022-20458 · Unknown · Ichat Server

Ramank775

·

Published

2022-05-31

·

Updated

2022-06-15

·

CVE-2022-31013

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Chat Server versions 2.3.2 through 2.5.x
Description The issue concerns a bug in validating the access token, resulting in authentication bypass. The function this.authProvider.verifyAccessKey is an async function, but the code does not use await to wait for the verification result, causing the function to respond with success along with an unhandled exception if the token is invalid.
Recommendations For versions 2.3.2 through 2.5.x, update to version 2.6.0 to resolve the issue. As a temporary workaround, consider modifying the this.authProvider.verifyAccessKey function to properly handle the async verification result until a patch is applied.

Exploit

Fix

Improper Authentication

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-31013
GHSA-XX4J-QQPP-V277

Affected Products

Ichat Server