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: 4b0a004830460221008e8d7b656d92060753398b4115cee82f75f2a40d0d7656c453e31526d98fa5df022100f27894ff9631bec10632ec3e1ab697ffd57ae5cda750d978d1ddf03d57131ea1:922c64590222798bb761d5b6d8e72950