Vite Configuration - File Exposure
ID: vite-config
Severity: low
Author: DhiyaneshDk
Tags: devops,exposure,files,vite,config
Description
Section titled “Description”The vite.config.js file is used to customize the behavior of Vite and specify various settings for your project.
YAML Source
Section titled “YAML Source”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
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: 4b0a0048304602210096e22194c4f9db1948c1f1fd5b5e89e8e6f12c558339452315d42f63d26b787a022100ec7dd51a097eed9dc1ada697ee4a37abb4d06cf0b87e723c86921113dba6bd38:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/configs/vite-config.yaml"