41 lines
963 B
YAML
41 lines
963 B
YAML
id: gruntfile-exposure
|
|
|
|
info:
|
|
name: Gruntfile Config - Detect
|
|
author: sbani
|
|
severity: info
|
|
description: Gruntfile configuration information was detected.
|
|
reference:
|
|
- https://gruntjs.com/sample-gruntfile
|
|
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
|
|
metadata:
|
|
max-request: 2
|
|
tags: config,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/Gruntfile.js"
|
|
- "{{BaseURL}}/Gruntfile.coffee"
|
|
|
|
host-redirects: true
|
|
max-redirects: 2
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
condition: and
|
|
words:
|
|
- "module.exports"
|
|
- "grunt"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100e8a2800fd792f3ec53f3e33a76736dd79b33a9c08cc5fdafa49bdbf35c37505602202826f2c8f9cf7a481ae5347e459218772cdbd936991cd8697521816c4a970419:922c64590222798bb761d5b6d8e72950
|