Skip to content

Kube API Services

ID: kube-api-services

Severity: info

Author: sharath

Tags: tech,k8s,kubernetes,devops,kube

Scans for kube services

id: kube-api-services
info:
name: Kube API Services
author: sharath
severity: info
description: Scans for kube services
metadata:
max-request: 1
tags: tech,k8s,kubernetes,devops,kube
http:
- method: GET
path:
- "{{BaseURL}}/api/v1/namespaces/default/services"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"ServiceList":'
- '"items":'
condition: and
# digest: 490a004630440220182d32f7bb5840d1d92829f3902279c3dd770fc0b3daf5a9a1c9451f4a326fa3022023af463b1f27f3381f95c13e6015ef4f73587ee83900d47cf78c8057bd129cdf:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/technologies/kubernetes/kube-api/kube-api-services.yaml"

View on Github