漏洞描述
The vite.config.js file is used to customize the behavior of Vite and specify various settings for your project.
id: vite-config
info:
name: Vite Configuration - File Exposure
author: DhiyaneshDk
severity: low
description: |
The vite.config.js file is used to customize the behavior of Vite and specify various settings for your project.
reference:
- https://vitejs.dev/config/
metadata:
verified: true
max-request: 1
shodan-query: html:"vite.config.js"
tags: devops,exposure,files,vite,config,vuln
http:
- method: GET
path:
- "{{BaseURL}}/vite.config.js"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'export default defineConfig'
- 'plugins:'
- 'laravel'
condition: and
- type: status
status:
- 200
# digest: 4a0a0047304502207fc1c6bd8c7dfc386a3f17328d4eba58fc463db6b454256e3d8595fee5c1c06e0221008f3d940bd26f42573d6f2fe469bd045b9f9cd516eef31cc26c9b2053e28d0acd:922c64590222798bb761d5b6d8e72950