Cross-site request forgery in next-auth - CVE-2023-27490

 

Cross-site request forgery in next-auth - CVE-2023-27490

Published: November 20, 2023


Vulnerability identifier: #VU83318
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-27490
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
next-auth
Software vendor:
NextAuth.js

Description

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin when using OAuth provider. A remote attacker can trick the victim to visit a specially crafted web page and tamper with authentication requests, which can lead to web application compromise.


Remediation

Install update from vendor's website.

External links