CVE-2023-27490
HIGHDescription
NextAuth.js is an open source authentication solution for Next.js applications. `next-auth` applications using OAuth provider versions before `v4.20.1` have been found to be subject to an authentication vulnerability. A bad actor who can read traffic on the victim's network or who is able to social engineer the victim to click a manipulated login link could intercept and tamper with the authorization URL to **log in as the victim**, bypassing the CSRF protection. This is due to a partial failure during a compromised OAuth session where a session code is erroneously generated. This issue has been addressed in version 4.20.1. Users are advised to upgrade. Users unable to upgrade may using Advanced Initialization, manually check the callback request for state, pkce, and nonce against the provider configuration to prevent this issue. See the linked GHSA for details.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 41% of all known CVEs.
References
Related Vulnerabilities
Other CWE-352 (Cross-Site Request Forgery) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2016-6277 | High | 8.8 | 100% | KEV | - |
| CVE-2014-0054 | Medium | 6.8 | 91% | - | Fix |
| CVE-2013-6429 | Medium | 6.8 | 90% | - | Fix |
| CVE-2022-41622 | High | 8.8 | 88% | - | - |
| CVE-2018-7700 | High | 8.8 | 75% | - | - |
| CVE-2015-2295 | Medium | 6.8 | 66% | - | - |
Embed a live status badge for CVE-2023-27490
Markdown
[](https://tridentstack.com/cve/CVE-2023-27490)HTML
<a href="https://tridentstack.com/cve/CVE-2023-27490"><img src="https://tridentstack.com/cve/badge/CVE-2023-27490.svg" alt="CVE-2023-27490"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.