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
  metadata:
    verified: true
    max-request: 1
    shodan-query: 'title:"PuppetDB: Dashboard"'
  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: 4b0a00483046022100fab2167b7526c9d539a99894d17b81f52460ed7d6cbf4234ca853b5ed0c32f7e02210082106735b99c154ebf7e8adb6739bcef506384c6f5dec2f82b1800f60f22e736:922c64590222798bb761d5b6d8e72950
