Webpack Configuration File - Detect
ID: webpack-config
Severity: info
Author: ambassify
Tags: config,exposure
Description
Section titled “Description”Webpack configuration file was detected.
YAML Source
Section titled “YAML Source”id: webpack-config
info: name: Webpack Configuration File - Detect author: ambassify severity: info description: Webpack configuration file was detected. 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:webpack.js:webpack:*:*:*:*:node.js:*:*:* metadata: max-request: 1 shodan-query: html:"webpack.config.js" product: webpack vendor: webpack.js tags: config,exposure
http: - method: GET path: - "{{BaseURL}}/webpack.config.js"
matchers-condition: and matchers: - type: word words: - "module.exports" - "const" condition: or
- type: word part: header words: - "application/javascript" - "text/javascript" condition: or
- type: status status: - 200# digest: 4a0a00473045022100ad685e5993979c1780ba0e6de06340fea04c526ec7f2add4b6b328cfd3b4b5350220462ae2287631d22d04575497e18e9d72582f1183302521c2533a085fc4fd19e4: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/webpack-config.yaml"