id: gitblit-panel

info:
  name: Gitblit Login Panel - Detect
  author: tess
  severity: info
  description: Gitblit 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:gitblit:gitblit:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: gitblit
    shodan-query: http.title:"Gitblit"
    vendor: gitblit
    verified: true
  tags: panel,gitblit

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Gitblit</title>"
          - "Welcome to Gitblit"
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a004730450220701c1be509099dca0b74d7801092dee50bc19ef09c40758f4f1fdda9e6657a5d022100d315b3363ad80148f9c66b09e0e85c6ba5f089687fd6c22e1a4b15a0200298f0:922c64590222798bb761d5b6d8e72950