nuclei-templates/http/technologies/kubernetes/etcd/etcd-version.yaml

42 lines
736 B
YAML
Raw Normal View History

2023-03-27 20:44:24 +00:00
id: etcd-version
info:
name: Etcd Version - Detect
author: pussycat0x
severity: info
2023-03-28 13:12:16 +00:00
description: Template detects Etcd version.
reference:
- https://etcd.io/
2023-03-27 20:44:24 +00:00
metadata:
verified: "true"
shodan-query: product:"etcd"
tags: tech,k8s,kubernetes,devops,etcd
http:
2023-03-27 20:44:24 +00:00
- method: GET
path:
- "{{BaseURL}}/version"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"etcdserver"'
- '"etcdcluster"'
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
extractors:
- type: dsl
dsl:
2023-03-28 12:01:26 +00:00
- 'trim(body,"{}")'