CVE-2023-54418 json
Nuxt 3.0.0-rc.1 < 3.0.0-rc.13 Unauthenticated Arbitrary File Read via Vite Dev Server
published 10h ago modified 7h ago also EUVD-2023-60734
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Nuxt nuxt 3.0.0-rc.13
- github.com/nuxt/nuxt@44b4100 commit
- github.com/nuxt/framework#8674 pull request
Is CVE-2023-54418 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8h ago
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Inferred packages
No advisory lists a package for this vulnerability yet. The CVE names these as products and links their GitHub repository, and the package registry names the same repository, so they are probably the affected packages. Low confidence: the versions are the CVE’s own for the product, and a stack check reports the package as unchecked when there are none.
| ecosystem | package | repository | affected |
|---|---|---|---|
| npm | nuxt | nuxt/nuxt | >= 3.0.0-rc.1, < 3.0.0-rc.13 |
Affected products
- Nuxt nuxt
Classification
- Weakness
-
- CWE-552 Files or Directories Accessible to External Parties
References
-
github.com
/nuxt/framework/pull/8674
patch, issue-tracking
-
github.com
/nuxt/nuxt/commit/44b4100e4c9c4824c5484bc2571450d81cc85a12
patch, issue-tracking
-
github.com
/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/nuxt/nuxt-js-lfi.yaml
technical-description
-
vulncheck.com
/advisories/nuxt-3.0.0-rc.1-before-3.0.0-rc.13-unauthenticated-arbitrary-file-read-via-vite-dev-server
third-party-advisory
-
vulncheck.com
/advisories/nuxt-3.0.0-rc.1-3.0.0-rc.13-unauthenticated-arbitrary-file-read-via-vite-dev-server
third-party-advisory
Sources
- CVE List CVE-2023-54418
- NVD CVE-2023-54418
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.