Next.js Server-Side Request Forgery in Server Actions
36Vexday Risk Score
Corrige pronto. Ella tiene exploit funcional público.
ssvc Attendcvss 7.5epss 5.5%
probabilidad de explotación
5.5%top 8% de las CVE
explotación observada
noninguna fuente lo reporta
En resumen
Una falla en Next.js Server Actions permite que atacantes engañen al servidor para hacer solicitudes modificando el header Host e iniciando redirecciones, haciendo parecer que el servidor es el remitente. Esto importa porque puede exponer servicios o recursos internos que solo deberían ser accesibles desde dentro de la red.
Detalle técnico
Vulnerabilidad SSRF en Next.js Server Actions activada por manipulación del header Host combinada con redirecciones de ruta relativa (comenzando con /). Requiere implementación self-hosted de Next.js utilizando Server Actions que ejecuten redirecciones; el atacante puede falsificar solicitudes que parecen originarse del servidor de aplicaciones, potencialmente accediendo a endpoints internos o exfiltrando datos sensibles. Corregido en Next.js 14.1.1.
Resumen generado y traducido por IA a partir de la descripción oficial.
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`.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N