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

45 lines
950 B
YAML

id: etcd-version
info:
name: Etcd Version - Detect
author: pussycat0x
severity: info
description: Template detects Etcd version.
reference:
- https://etcd.io/
metadata:
verified: true
max-request: 1
shodan-query: product:"etcd"
tags: tech,k8s,kubernetes,devops,etcd
http:
- 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:
- 'trim(body,"{}")'
# digest: 4b0a00483046022100d651bb96887a4bb41f30a0398c762daa56c26f98f70564bf3b397c4e5981d302022100a424138d2ffc7040c0b430cfaab0f62bf09be8fe5bee76176f347713512a8b57:922c64590222798bb761d5b6d8e72950