2022-08-15 09:21:29 +00:00
|
|
|
id: behat-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Behat Configuration File Exposure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: low
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: html:"behat.yml"
|
|
|
|
reference: https://docs.behat.org/en/v2.5/guides/7.config.html
|
|
|
|
tags: exposure,behat,devops,cicd
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/behat.yml"
|
|
|
|
- "{{BaseURL}}/behat.yml.dist"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-08-17 00:57:41 +00:00
|
|
|
part: body
|
2022-08-15 09:21:29 +00:00
|
|
|
words:
|
|
|
|
- 'default:'
|
|
|
|
- 'paths:'
|
2022-08-17 00:57:41 +00:00
|
|
|
- 'suites:'
|
2022-08-15 09:21:29 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|