id: puppetdb-dashboard

info:
  name: PuppetDB Dashboard - Detect
  author: DhiyaneshDk
  severity: info
  description: PuppetDB dashboard was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
    cpe: cpe:2.3:a:puppet:puppetdb:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: 'title:"PuppetDB: Dashboard"'
    product: puppetdb
    vendor: puppet
  tags: misconfig,exposure,puppetdb

http:
  - method: GET
    path:
      - "{{BaseURL}}/pdb/dashboard/index.html"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "PuppetDB: Dashboard"

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