Skip to content

Gruntfile Config - Detect

ID: gruntfile-exposure

Severity: info

Author: sbani

Tags: config,exposure

Gruntfile configuration information was detected.

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: 490a00463044022074dbaf154cc92ced2e65a202eceb2e92a37809f8205433c7995d88db7c7cb97102202355a6163fca3bfea18b73f436f42ed5addbbf5b946d16744d4bf798e0ccbeca: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/gruntfile-exposure.yaml"

View on Github