CVE-2023-54417
Nuxt 3.0.0 before 3.4.2 contains a semi-arbitrary file read …
Nuxt 3.0.0 before 3.4.2 contains a semi-arbitrary file read vulnerability in the vite-node dev server middleware that allows unauthenticated attackers to read files by supplying an absolute path as the moduleId. Attackers can send GET requests to /__nuxt_vite_node__/module/ with an absolute file path to read sensitive system files. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-19.
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/nuxt/commit/886350a27c6b733ae07dfd5f6b8457214aa83fe6
- github.com/nuxt/nuxt/pull/20345
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/nuxt/nuxt-js-s
- www.vulncheck.com/advisories/nuxt-3.0.0-3.4.1-unauthenticated-file-read-via-vite-node-dev-
- www.vulncheck.com/advisories/nuxt-3.0.0-3.4.2-unauthenticated-file-read-via-vite-node-dev-
- nvd.nist.gov/vuln/detail/CVE-2023-54417
- cve.org/CVERecord?id=CVE-2023-54417
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.