id: default-cakephp-page

info:
  name: CakePHP Default Page
  author: DhiyaneshDK
  severity: info
  classification:
    cpe: cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: cakephp
    product: cakephp
    shodan-query: html:"Welcome to CakePHP"
  tags: tech,cakephp,default-page

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Welcome to CakePHP'
          - 'CakePHP Issues'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "Welcome to CakePHP ([0-9.]+)"
# digest: 4a0a0047304502206cac9dea27fea8452e1b1e8f170a4c579c07cc1bab1e06ab187a0e94267b511e022100e45bd97ba1cd3055b5fe0207a22e878ad7cacbbee2852e6211c0b384a1ba87f4:922c64590222798bb761d5b6d8e72950