id: gogs-installer

info:
  name: Gogs (Go Git Service) - Installer
  author: dhiyaneshDk
  severity: critical
  description: Go Git Service installer panel was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
    cvss-score: 9.4
    cwe-id: CWE-284
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"Installation - Gogs"
  tags: misconfig,exposure,gogs,install

http:
  - method: GET
    path:
      - '{{BaseURL}}/install'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "General Settings"
          - "Database Settings"
        condition: and

      - type: status
        status:
          - 200

# digest: 4b0a00483046022100a9dc419d700b972b988e7e0c4ae511f0b1faafc876e9fccfbf60e2ee83c99d24022100ef4787f5c14e2a23d27622f2ba75d279d6d608b2a9cfd8af6bf8428ecc63119a:922c64590222798bb761d5b6d8e72950
