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: 4a0a00473045022100c06c3149b0efc032b346a380addcb0c291bb5efcd6f944728490eb510c5ee70302200655fbe2c7c9c5c54f409ff8a959b765f54bd8b1226574664083d5a2b4fa5ca7:922c64590222798bb761d5b6d8e72950