Skip to content

Babel Configuration - Detect

ID: babel-config-exposure

Severity: info

Author: DhiyaneshDK

Tags: exposure,config,file

Babel configuration information was detected.

id: babel-config-exposure
info:
name: Babel Configuration - Detect
author: DhiyaneshDK
severity: info
description: Babel configuration information was detected.
reference:
- https://babeljs.io/docs/en/configuration
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
cpe: cpe:2.3:a:pocoo:babel:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: html:"babel.config.js"
product: babel
vendor: pocoo
tags: exposure,config,file
http:
- method: GET
path:
- '{{BaseURL}}/babel.config.js'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'module.exports = {'
- 'presets: ['
condition: and
- type: status
status:
- 200
# digest: 4a0a0047304502202937bd7f513abdfdbade82b3b5e68cb456e33755b833ddb293b38a9c3d2beeb0022100c837c626963eef8e6bfb5b14c7288c50c2ef08d4382417531a2bf0acce51c9ce: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/configs/babel-config-exposure.yaml"

View on Github