Haproxy Config - File Disclosure
ID: haproxy-config-file
Severity: low
Author: DhiyaneshDk
Tags: exposure,files,haproxy
Description
Section titled “Description”Haproxy Config file is exposed.
YAML Source
Section titled “YAML Source”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
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: 4a0a00473045022100e93f9f898273e5d72c811a4c15f0168a059cec4d1c15acdee3851c409424b52402200d70100d75bfa5fcd0fc58a22faa4bc14fb313224e7a7f3c53543b1ff40b7689:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/files/haproxy-config-file.yaml"