forked from projectdiscovery/nuclei-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkubernetes-fake-certificate.yaml
30 lines (28 loc) · 1.23 KB
/
kubernetes-fake-certificate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
id: kubernetes-fake-certificate
info:
name: Kubernetes Fake Ingress Certificate - Detect
author: kchason
severity: low
description: |
Kubernetes Fake Ingress Certificate is a feature in Kubernetes that allows users to create and use fake or self-signed SSL/TLS certificates for testing purposes without having to obtain a real SSL/TLS certificate from a trusted Certificate Authority (CA).
remediation: Purchase or generate a proper SSL certificate for this service.
reference:
- https://snyk.io/blog/setting-up-ssl-tls-for-kubernetes-ingress/
metadata:
verified: true
max-request: 1
shodan-query: ssl:"Kubernetes Ingress Controller Fake Certificate"
tags: ssl,tls,kubernetes,self-signed
ssl:
- address: "{{Host}}:{{Port}}"
matchers:
- type: dsl
dsl:
- 'subject_cn == "Kubernetes Ingress Controller Fake Certificate"'
- 'issuer_cn == "Kubernetes Ingress Controller Fake Certificate"'
condition: or
extractors:
- type: dsl
dsl:
- '"Issuer: " + issuer_cn'
# digest: 4b0a00483046022100d2f2bb14953ff9476f93b5bad3e3b08241fdb92301b624aa7b7cd2686c5a9a0b022100ba43be07509719a30e72d3333ac133dc23a3aa1d51125137e6fb8f9c0291fb0d:922c64590222798bb761d5b6d8e72950