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

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