Nuxt arbitrary file read in Vite dev server
nuxt
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Nuxt nuxt |
| No fix yet |
Original description
Nuxt 3.0.0-rc.1 before 3.0.0-rc.13 contains an arbitrary file read vulnerability caused by the Vite dev server default setting vite.server.fs.strict=false. Unauthenticated attackers can request /_nuxt/@fs/<absolute path> with a raw query to read arbitrary files like /etc/passwd from the system. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.
From the CVE record · VulnCheck