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

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