high8.7
CVE-2023-54417
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 …
Impact
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.
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 before 3.4.2 |
| Nuxt | Nuxt | from 3.0.0 before 3.4.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nuxt/nuxt/pull/20345
- https://github.com/nuxt/nuxt/commit/886350a27c6b733ae07dfd5f6b8457214aa83fe6
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/nuxt/nuxt-js-semi-lfi.yaml
- https://www.vulncheck.com/advisories/nuxt-3.0.0-3.4.1-unauthenticated-file-read-via-vite-node-dev-server
- https://www.vulncheck.com/advisories/nuxt-3.0.0-3.4.2-unauthenticated-file-read-via-vite-node-dev-server
- https://github.com/advisories/GHSA-7mhv-rvrc-xx53
- https://nvd.nist.gov/vuln/detail/CVE-2023-54417