postgres-exporter-metrics: Postgres Exporter Metrics

2025-08-01 Postgres Exporter Metrics PoC Public

Description

Postgres Exporter Metrics is exposed.

PoC

id: postgres-exporter-metrics

info:
  name: Postgres Exporter Metrics
  author: DhiyaneshDk
  severity: low
  description: Postgres Exporter Metrics is exposed.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Postgres exporter"
  tags: postgres,exposure,debug,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/metrics"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "postgres"
          - "# HELP"
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e920e491262407362e07701eebc3a606c58f0696c43ad4210e6167efe056a647022100d2d50d9fa771827e82a807c95c07f78ddfaf33b7937f80039d78a7ddda0bf412:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities