id: forgejo-installer

info:
  name: Forgejo Installation Page - Exposure
  author: DhiyaneshDk
  severity: high
  description: |
    Checks for the presence of a Forgejo Installer Page.
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="Installation - Forgejo:"
  tags: install,Forgejo,misconfig,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Installation - Forgejo: Beyond coding. We Forge.</title>"

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