id: centreon-panel

info:
  name: Centreon Login Panel - Detect
  author: pikpikcu,daffainfo
  severity: info
  description: Centreon login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: centreon_web
    shodan-query: http.title:"Centreon"
    vendor: centreon
  tags: panel,centreon,login

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        condition: or
        words:
          - '<title>Centreon - IT & Network Monitoring</title>'
          - '<input name="centreon_token" type="hidden"'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'v. (.*)'
# digest: 4a0a00473045022100e54e060d59c1e789e7ecc1e0f642623e61c78ffcee6d2efc7deb7f1ffa3ff4ce02200e6f5ab71a0032b17c4e3ddf4fa1ab0ac9971a90138b6b2f8dfd5c98f8acb732:922c64590222798bb761d5b6d8e72950