id: git-repository-browser

info:
  name: Git Repository Browser Panel - Detect
  author: tess
  severity: info
  description: Git Repository Browser 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:cgit_project:cgit:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: cgit
    shodan-query: http.title:"Git repository browser"
    vendor: cgit_project
    verified: true
  tags: panel,git,cgit_project

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Git repository browser"
          - "a fast webinterface for the git dscm"
        condition: and

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