CVE-2023-54418
Nuxt 3.0.0-rc.1 before 3.0.0-rc.13 contains an arbitrary file read …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nuxt/framework/pull/8674
- github.com/nuxt/nuxt/commit/44b4100e4c9c4824c5484bc2571450d81cc85a12
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/nuxt/nuxt-js-l
- www.vulncheck.com/advisories/nuxt-3.0.0-rc.1-3.0.0-rc.13-unauthenticated-arbitrary-file-re
- www.vulncheck.com/advisories/nuxt-3.0.0-rc.1-before-3.0.0-rc.13-unauthenticated-arbitrary-
- nvd.nist.gov/vuln/detail/CVE-2023-54418
- cve.org/CVERecord?id=CVE-2023-54418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.