kubernetes-version: Kubernetes Version Exposure

2025-08-01 kubernetes-version PoC Public

Description

Searches for exposed Kubernetes API servers which return version information unauthenticated

PoC

id: kubernetes-version

info:
  name: Kubernetes Version Exposure
  author: raesene
  severity: info
  verified: true
  description: |-
    Searches for exposed Kubernetes API servers which return version information unauthenticated
  tags: kubernetes,version,detect
  created: 2024/01/05

rules:
  r0:
    request:
      method: GET
      path: /version
    expression: response.status == 200 && response.body.bcontains(b"gitVersion") && response.body.bcontains(b"goVersion") && response.body.bcontains(b"platform")
expression: r0()

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities