45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
id: cakephp-config
|
|
|
|
info:
|
|
name: CakePHP Configuration File - Detect
|
|
author: DhiyaneshDk
|
|
severity: medium
|
|
description: CakePHP configuration file was detected.
|
|
reference:
|
|
- https://book.cakephp.org/phinx/0/en/configuration.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
|
|
cpe: cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
shodan-query: html:"phinx.yml"
|
|
product: cakephp
|
|
vendor: cakephp
|
|
tags: files,exposure,config
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/phinx.yml"
|
|
- "{{BaseURL}}/phinx.yaml"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "host:"
|
|
- "name:"
|
|
- "pass:"
|
|
- "adapter:"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a00483046022100c0b633fd3aeca560c482b77706201a71597a2f2563f1b43af4c8cd5075ff41ad022100bb618ef2f3fc0d7cbff9a383d479b21e5f9e91e4cf6f7af48c5bb2e4d6c85bf3:922c64590222798bb761d5b6d8e72950 |