漏洞描述
Haproxy Config file is exposed.
id: haproxy-config-file
info:
name: Haproxy Config - File Disclosure
author: DhiyaneshDk
severity: low
description: |
Haproxy Config file is exposed.
reference:
- https://www.haproxy.com/documentation/haproxy-configuration-manual/latest/
metadata:
verified: true
max-request: 1
shodan-query: html:"haproxy.cfg"
tags: exposure,files,haproxy,vuln
http:
- method: GET
path:
- '{{BaseURL}}/haproxy.cfg'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '/var/run/haproxy.pid'
- 'pidfile'
condition: and
case-insensitive: true
- type: word
part: content_type
words:
- 'text/plain'
# digest: 4a0a0047304502205420d7aaf34898069a47e08b605a5702f871882f1e07e8310bca56a367af383f022100a64e5bf3f0341459a18b531fd560055673a3cedc472e281908efda379503c9e3:922c64590222798bb761d5b6d8e72950