id: haproxy-status

info:
  name: HAProxy Statistics Page - Detect
  author: dhiyaneshDK
  severity: medium
  description: HAProxy statistics page was detected.
  reference:
    - https://www.exploit-db.com/ghdb/4191
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 2
  tags: logs,haproxy,edb,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/haproxy-status"
      - "{{BaseURL}}/haproxy?stats"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Statistics Report for HAProxy'

      - type: status
        status:
          - 200

# digest: 490a0046304402201bea6b4bbbd31ccdbe3f7d88cda18ede4a65da83d26b79999dad9c6c9f4100760220566895910cd27aa0ee7910bbda4454665d0b0c6134e974d82d40ae8985f97816:922c64590222798bb761d5b6d8e72950
