high7.5
CVE-2023-54418
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.
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| @clerk | Nuxt | from 3.0.0-rc.1 before 3.0.0-rc.13 |
| Nuxt | Nuxt | from 3.0.0-rc.1 before 3.0.0-rc.13 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nuxt/framework/pull/8674
- https://github.com/nuxt/nuxt/commit/44b4100e4c9c4824c5484bc2571450d81cc85a12
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/nuxt/nuxt-js-lfi.yaml
- https://www.vulncheck.com/advisories/nuxt-3.0.0-rc.1-before-3.0.0-rc.13-unauthenticated-arbitrary-file-read-via-vite-dev-server
- https://www.vulncheck.com/advisories/nuxt-3.0.0-rc.1-3.0.0-rc.13-unauthenticated-arbitrary-file-read-via-vite-dev-server
- https://github.com/advisories/GHSA-9qm4-jxp8-3jmc
- https://nvd.nist.gov/vuln/detail/CVE-2023-54418