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

41 lines
898 B
YAML
Raw Normal View History

2022-03-08 18:47:22 +00:00
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
2023-10-14 11:27:55 +00:00
tags: puppet,tech,exposure
2022-03-08 18:47:22 +00:00
http:
2022-03-08 18:47:22 +00:00
- method: GET
path:
- "{{BaseURL}}/pdb/meta/v1/version"
2022-03-09 11:33:51 +00:00
matchers-condition: and
2022-03-08 18:47:22 +00:00
matchers:
- type: status
status:
- 200
- type: word
part: header
words:
- 'application/json'
2023-08-05 17:42:50 +00:00
- type: regex
2022-03-08 18:47:22 +00:00
part: body
2023-08-05 23:37:55 +00:00
regex:
2023-08-05 17:42:50 +00:00
- '"version"\s:\s"([0-9.]+)"'
2022-03-08 18:47:22 +00:00
extractors:
- type: regex
group: 1
regex:
- '"version"\s:\s"([0-9.]+)"'
# digest: 490a0046304402201d7a8a0bad8c33ec30ff05992c6a17d9ec0d4fcb5b7c3d7dfac23f906c15247602203edcec555882edc5b02d3265bb8c6a79b3edd20c50a6158ced83029c4712bda1:922c64590222798bb761d5b6d8e72950