2022-08-15 09:21:29 +00:00
|
|
|
id: behat-config
|
|
|
|
|
|
|
|
info:
|
2023-02-08 18:23:14 +00:00
|
|
|
name: Behat Configuration File - Detect
|
2022-08-15 09:21:29 +00:00
|
|
|
author: DhiyaneshDK
|
2023-02-16 08:07:11 +00:00
|
|
|
severity: medium
|
2023-02-08 18:23:14 +00:00
|
|
|
description: Behat configuration file was detected.
|
2023-02-16 08:07:11 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.behat.org/en/v2.5/guides/7.config.html
|
|
|
|
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-08-15 09:21:29 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-08-15 09:21:29 +00:00
|
|
|
shodan-query: html:"behat.yml"
|
|
|
|
tags: exposure,behat,devops,cicd
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-08-15 09:21:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/behat.yml"
|
|
|
|
- "{{BaseURL}}/behat.yml.dist"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-08-15 09:21:29 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502201ca9b08a93676da1bf20fa302751bc5afd76ef5d1bb0ae05bfed6f9dbc1ec26d022100eb7997c4e154b4a77e0ae9b03fd2fff774b4f28c9a342e35bdc40b7f2967003f:922c64590222798bb761d5b6d8e72950
|