CVE-2023-54417
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nuxt | nuxt | {"startIncluding":"3.0.0","endExcluding":"3.4.2"} | 3.4.2 |
References
- https://github.com/nuxt/nuxt/commit/886350a27c6b733ae07dfd5f6b8457214aa83fe6
- https://github.com/nuxt/nuxt/pull/20345
- 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
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.