cakephp-config: CakePHP Configuration File - Detect

日期: 2025-08-01 | 影响软件: cakephp-config | POC: 已公开

漏洞描述

CakePHP configuration file was detected.

PoC代码[已公开]

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,vuln

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: 490a00463044022068b33cca6d00b950d4ab921ecfb9c71a86ad6eeda7de5abe7207c24f8c1d4099022026be76061dbfd584f33d184256e17573d8ae634def126209465d90a721077919:922c64590222798bb761d5b6d8e72950