43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
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: 490a0046304402202de46c091c3b5e41921d981ae0769a97b2302457c3474355dee38a1ec2baa7f7022074e47fa1a9f8892169a5f3609f29e6c5b55ecd9ba60804835654fbd7d334252e:922c64590222798bb761d5b6d8e72950 |