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,vuln

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