nuclei-templates/exposures/configs/gruntfile-exposure.yaml

38 lines
774 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:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
tags: config,exposure
requests:
- 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
# Enhanced by mp on 2023/02/05