Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2018-1002105 PoC — Google Kubernetes 权限许可和访问控制漏洞

Source
Associated Vulnerability
Title: Google Kubernetes 权限许可和访问控制漏洞 (CVE-2018-1002105)
Description:In all Kubernetes versions prior to v1.10.11, v1.11.5, and v1.12.3, incorrect handling of error responses to proxied upgrade requests in the kube-apiserver allowed specially crafted requests to establish a connection through the Kubernetes API server to backend servers, then send arbitrary requests over the same connection directly to the backend, authenticated with the Kubernetes API server's TLS credentials used to establish the backend connection.
Description
PoC command injection example for cve-2018-1002105 based off https://github.com/gravitational/cve-2018-1002105
Readme
# This was modified from https://gravitational.com/blog/kubernetes-websocket-upgrade-security-vulnerability/.  All credit goes to the kind folks at Gravitational.

The original PoC code was modified to go a bit beyond checking for vulnerability and to actually run a command inside the first container in the first namespace.  In this case, `curl -s google.com` inside the first pod/container in the default namespace on most clusters.  From here, it's easy to make an actual tool to extract secrets, code, exfil data, etc.

# CVE-2018-1002105
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →