id: cerebro-panel

info:
  name: Cerebro Login Panel - Detect
  author: huowuzhao,elder tao
  severity: info
  description: Cerebro login panel was detected.
  reference:
    - https://github.com/lmenezes/cerebro
  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
  metadata:
    max-request: 1
  tags: panel,cerebro

http:
  - method: GET
    path:
      - "{{BaseURL}}/login"

    matchers:
      - type: word
        words:
          - "<title>Cerebro</title>"
        part: body

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "<small>([a-z0-9.]+)</small>"
# digest: 4b0a00483046022100c57588c9233a86c7eb8d810bb16e3e7fc2aca080860dad0145f7fdf65295fd76022100c7d813196b3a1b626923a2ae93db6d9a39d8e9f082af64083dc22e1f8a94fbd7:922c64590222798bb761d5b6d8e72950