2021-10-20 22:51:52 +00:00
|
|
|
id: gruntfile-exposure
|
2021-10-20 16:28:48 +00:00
|
|
|
|
|
|
|
info:
|
2023-02-05 17:08:28 +00:00
|
|
|
name: Gruntfile - Detect
|
2021-10-20 16:28:48 +00:00
|
|
|
author: sbani
|
|
|
|
severity: info
|
2023-02-05 17:08:28 +00:00
|
|
|
description: Gruntfile configuration was detected.
|
|
|
|
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
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://gruntjs.com/sample-gruntfile
|
2021-10-20 16:28:48 +00:00
|
|
|
tags: config,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/Gruntfile.js"
|
|
|
|
- "{{BaseURL}}/Gruntfile.coffee"
|
|
|
|
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2021-10-20 22:51:52 +00:00
|
|
|
max-redirects: 2
|
2021-10-20 16:28:48 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2021-10-20 22:51:52 +00:00
|
|
|
part: body
|
|
|
|
condition: and
|
2021-10-20 16:28:48 +00:00
|
|
|
words:
|
|
|
|
- "module.exports"
|
2021-10-20 22:51:52 +00:00
|
|
|
- "grunt"
|
2021-10-20 16:28:48 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-02-05 17:08:28 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2023/02/05
|