39 lines
718 B
YAML
39 lines
718 B
YAML
id: puppetserver-detect
|
|
|
|
info:
|
|
name: Puppetserver Detection
|
|
author: c-sh0
|
|
severity: info
|
|
reference:
|
|
- https://insinuator.net/2020/09/puppet-assessment-techniques/
|
|
metadata:
|
|
max-request: 1
|
|
tags: tech,puppet,exposure,intrusive
|
|
|
|
http:
|
|
- 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
|