Skip to content

Nuxtjs Config File - File Disclosure

ID: nuxtjs-config-file

Severity: low

Author: DhiyaneshDk

Tags: exposure,files,nuxtjs

Nuxtjs Config file is exposed.

id: nuxtjs-config-file
info:
name: Nuxtjs Config File - File Disclosure
author: DhiyaneshDk
severity: low
description: |
Nuxtjs Config file is exposed.
metadata:
verified: true
max-request: 1
shodan-query: html:"nuxt.config.ts"
tags: exposure,files,nuxtjs
http:
- method: GET
path:
- '{{BaseURL}}/nuxt.config.js'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'export default {'
- 'buildModules: ['
condition: and
case-insensitive: true
- type: word
part: content_type
words:
- 'application/javascript'
# digest: 4a0a00473045022100d4594c50bd18e1842ccd557c7172cd8568d731a59d175bee99ff2b01c5e6b72302204f5bd0848129afbf78a0c0c9a1eb8b2ec14a4cab3297914bebd28f4101102132:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/exposures/files/nuxtjs-config-file.yaml"

View on Github