id: lvm-exporter-metrics

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

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

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

      - type: word
        part: body
        words:
          - "lvm_"

      - type: status
        status:
          - 200
# digest: 490a00463044022028e4619f31a61e07f25aea632dc9e2f8437951aea230ac4da745de8ea144b8f502202bddfb7a0e0a07760346f5b0aa05ff1627c5406e803f53fc9fec710a30769387:922c64590222798bb761d5b6d8e72950