2022-03-08 18:47:22 +00:00
|
|
|
id: puppetserver-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Puppetserver Detection
|
|
|
|
author: c-sh0
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://insinuator.net/2020/09/puppet-assessment-techniques/
|
2022-03-08 18:47:22 +00:00
|
|
|
tags: tech,puppet,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/puppet-ca/v1/certificate_request/{{randstr}}"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 404
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "x-puppet-version"
|
|
|
|
case-insensitive: true
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "{{randstr}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: kval
|
|
|
|
kval:
|
|
|
|
- x_puppet_version
|