2021-10-20 22:51:52 +00:00
|
|
|
id: gruntfile-exposure
|
2021-10-20 16:28:48 +00:00
|
|
|
|
|
|
|
info:
|
2021-10-20 22:51:52 +00:00
|
|
|
name: Gruntfile Exposure
|
2021-10-20 16:28:48 +00:00
|
|
|
author: sbani
|
|
|
|
severity: info
|
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"
|
|
|
|
|
2021-10-20 22:51:52 +00:00
|
|
|
redirects: true
|
|
|
|
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
|