id: concrete5-install

info:
  name: Concrete5 Install Panel
  author: osamahamad,princechaddha
  severity: critical
  description: A Concrete5 installation panel was discovered.
  reference:
    - https://documentation.concretecms.org/developers/introduction/installing-concrete-cms
  classification:
    cpe: cpe:2.3:a:concrete5:concrete5:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: concrete5
    product: concrete5
    shodan-query:
      - http.title:"Install concrete5"
      - cpe:"cpe:2.3:a:concrete5:concrete5"
      - http.title:"install concrete5"
      - http.title:"concrete5"
    fofa-query:
      - title="install concrete5"
      - title="concrete5"
    google-query:
      - intitle:"concrete5"
      - intitle:"install concrete5"
  tags: panel,install,concrete,cms,concrete5,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php/install"
      - "{{BaseURL}}/concrete5/index.php/install"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Install concrete5</title>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Version ([0-9.]+)'
# digest: 4a0a00473045022100dca51ad8ab56c16831c3d200c8985712a55b608e043e6c11c942c546941b72c3022004ca9ff9e4a9c4676c61f2a4d1d250ce34e54c3006d6d793369807b0332c2263:922c64590222798bb761d5b6d8e72950