id: qmail-admin-login

info:
  name: QmailAdmin Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: QmailAdmin 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:qmail_project:qmail:*:*:*:*:*:*:*:*
  metadata:
    max-request: 5
    product: qmail
    shodan-query: title:"QmailAdmin"
    vendor: qmail_project
    verified: true
  tags: qmail,panel,qmail_project

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/qmailadmin/qmailadmin.cgi"
      - "{{BaseURL}}/cgi-bin/qmailadmin/qmailadmin"
      - "{{BaseURL}}/cgi-bin/qmailadmin"
      - "{{BaseURL}}/cgi-ssl/qmailadmin/qmailadmin"

    host-redirects: true
    max-redirects: 2
    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "QmailAdmin"

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