2022-08-15 07:35:26 +00:00
|
|
|
id: phpsec-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Phpspec Configuration File Exposure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: html:"phpspec.yml"
|
|
|
|
reference: https://phpspec.net/en/stable/cookbook/configuration.html
|
2022-08-17 00:55:35 +00:00
|
|
|
tags: exposure,phpsec,php,devops,cicd
|
2022-08-15 07:35:26 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.phpspec.yml"
|
|
|
|
- "{{BaseURL}}/phpspec.yml"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'suites:'
|
|
|
|
- 'main:'
|
2022-08-17 00:55:35 +00:00
|
|
|
- 'namespace:'
|
2022-08-15 07:35:26 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|