Improper Authentication in Upstash Redis adapter - CVE-2022-39263

 

Improper Authentication in Upstash Redis adapter - CVE-2022-39263

Published: September 29, 2022


Vulnerability identifier: #VU67752
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-39263
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Upstash Redis adapter
Software vendor:
NextAuth.js

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to Upstash Redis adapter does not properly authenticate user sessions. After the initial successful authentication performed with a valid user identifier (email) and a token, all other subsequent requests are authenticated only by using the user identifier. A remote attacker with knowledge of an existing email address can bypass authentication process and gain unauthorized access to the application.


Remediation

Install updates from vendor's website.

External links