Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT:CVE-2024-34351
HistoryMay 09, 2024 - 4:14 p.m.

CVE-2024-34351 Next.js Server-Side Request Forgery in Server Actions

2024-05-0916:14:16
CWE-918
GitHub_M
github.com
10
next.js
ssrf vulnerability
server-side request forgery
server actions
next.js 14.1.1

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

6.7

Confidence

Low

EPSS

0.001

Percentile

46.7%

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:vercel:next.js:13.4.0:*:*:*:*:node.js:*:*"
    ],
    "vendor": "vercel",
    "product": "next.js",
    "versions": [
      {
        "status": "affected",
        "version": "13.4.0",
        "lessThan": "14.1.1",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

6.7

Confidence

Low

EPSS

0.001

Percentile

46.7%

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial