PRIOn Logo

CVE-2024-34351 Server side request forgery (ssrf)

Routine
Remediate Within 6 Months

CVE Information

Original CVE data

Published:
Updated:

Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.

CWE:
CVSS v2-
CVSS v3-
References
https://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g
https://github.com/vercel/next.js/pull/62561
https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085
Affected Vendors

Basic Analysis

Common vulnerability metrics

Vulnerabilty type as detected by PRIOnengine

Server side request forgery (ssrf)

CVSS Scores as calculated by PRIOnengine
CVSS v25.8
AV:N/AC:M/AU:N/C:P/I:P/A:N
CVSS v39.8
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
MITRE CWE Top 25

-

Exploits

No exploit code is reported to exist.

Active Exploitation

Vulnerability is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. See the KEV Catalog

Social Network Activity

-

Threat Actor Activity

No sightings of the vulnerability within threat reports.

Cybersecurity Frameworks

How the vulnerability maps against various cybersecurity frameworks

T1552 - Unsecured Credentials
T1190 - Exploit Public-Facing Application
T1090 - Proxy
T1083 - File and Directory Discovery
T1078 - Valid Accounts
T1005 - Data from Local System

Compliance Impact

How the submited vulnerability affects compliance

PCI DSS v3.2.1-6.5.8 - Improper Access Control

Web Application Security Frameworks

Applicable if the issue likely affects a web application

WASC-9 - Cross Site Request Forgery