nuclei-templates/http/technologies/puppetdb-detect.yaml

41 lines
898 B
YAML

id: puppetdb-detect
info:
name: PuppetDB Detection
author: c-sh0
severity: info
reference:
- https://puppet.com/docs/puppetdb/7/api/meta/v1/version.html#pdbmetav1version
metadata:
max-request: 1
tags: puppet,tech,exposure
http:
- method: GET
path:
- "{{BaseURL}}/pdb/meta/v1/version"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: header
words:
- 'application/json'
- type: regex
part: body
regex:
- '"version"\s:\s"([0-9.]+)"'
extractors:
- type: regex
group: 1
regex:
- '"version"\s:\s"([0-9.]+)"'
# digest: 490a0046304402201d7a8a0bad8c33ec30ff05992c6a17d9ec0d4fcb5b7c3d7dfac23f906c15247602203edcec555882edc5b02d3265bb8c6a79b3edd20c50a6158ced83029c4712bda1:922c64590222798bb761d5b6d8e72950