Kubesphere
Monthly
Privilege escalation in KubeSphere 4.0.0 through 4.1.3 allows an authenticated Kubernetes identity that can create CertificateSigningRequest objects to obtain a cluster CA-signed client certificate for an arbitrary subject, including a platform administrator, by submitting a CSR for the kubernetes.io/kube-apiserver-client signer with a kubesphere.io/username label. The controller auto-approves such requests without verifying the requester's identity or that the certificate subject matches the requester, so successful abuse yields full cluster administrator privileges. The issue is rated high severity (CVSS 8.7 CVSS 4.0; assessed 8.8 CVSS 3.1 with PR:L); a public technical reference is linked, but working exploit code and active exploitation are not confirmed.
Command injection in the KubeSphere terminal v1alpha2 file download endpoint (KubeSphere 4.0.0 through 4.1.3) lets any authenticated user who holds only pod get permission - including the built-in read-only project-viewer, workspace-viewer and cluster-viewer roles - execute arbitrary commands inside any container that account can view. The path query parameter is concatenated via fmt.Sprintf into an sh -c tar command executed inside the target container, and the DownloadFile handler performs no pods/exec authorization check of its own, so pod exec RBAC is effectively bypassed; the practical barrier is low because default viewer roles already satisfy the prerequisite. No confirmed active exploitation (not CISA KEV); a public PoC reference exists but is not verified as working exploit code, and this is prioritised for patching this week rather than treated as an emergency.
KubeSphere 4.1.3 and earlier ship a git credential verification endpoint that fetches caller-supplied URLs without any allowlist validation, letting an authenticated user point the server at internal services and capture the basic-auth credentials returned in the endpoint's error handling. The flaw is a classic CWE-918 SSRF that escalates into cross-namespace Secret disclosure because the leaked responses can expose credentials stored in any namespace. No public exploit code or CISA KEV entry has been identified at time of analysis, but the source-level references confirm the vulnerable code paths, and the CVSS 4.0 score of 8.3 reflects high confidentiality impact on both the vulnerable component and subsequent systems.
Server-Side Request Forgery in KubeSphere's multi-cluster controller allows any low-privileged user with Cluster CRD create or update permissions to weaponize the controller-manager and apiserver pods as HTTP proxies against arbitrary internal addresses, RFC1918 networks, and cloud instance metadata services including AWS IMDS at 169.254.169.254. The flaw resides in `pkg/utils/clusterclient/clusterclient.go` (addCluster), where the CRD-specified Kubernetes API endpoint undergoes only Go `url.Parse()` syntax validation before `Discovery().ServerVersion()` is called - no loopback, private-range, link-local, or metadata-address filtering is applied. A public researcher write-up demonstrating the attack path exists; no active exploitation has been confirmed in CISA KEV at time of analysis.
Privilege escalation in KubeSphere 4.0.0 through 4.1.3 allows an authenticated Kubernetes identity that can create CertificateSigningRequest objects to obtain a cluster CA-signed client certificate for an arbitrary subject, including a platform administrator, by submitting a CSR for the kubernetes.io/kube-apiserver-client signer with a kubesphere.io/username label. The controller auto-approves such requests without verifying the requester's identity or that the certificate subject matches the requester, so successful abuse yields full cluster administrator privileges. The issue is rated high severity (CVSS 8.7 CVSS 4.0; assessed 8.8 CVSS 3.1 with PR:L); a public technical reference is linked, but working exploit code and active exploitation are not confirmed.
Command injection in the KubeSphere terminal v1alpha2 file download endpoint (KubeSphere 4.0.0 through 4.1.3) lets any authenticated user who holds only pod get permission - including the built-in read-only project-viewer, workspace-viewer and cluster-viewer roles - execute arbitrary commands inside any container that account can view. The path query parameter is concatenated via fmt.Sprintf into an sh -c tar command executed inside the target container, and the DownloadFile handler performs no pods/exec authorization check of its own, so pod exec RBAC is effectively bypassed; the practical barrier is low because default viewer roles already satisfy the prerequisite. No confirmed active exploitation (not CISA KEV); a public PoC reference exists but is not verified as working exploit code, and this is prioritised for patching this week rather than treated as an emergency.
KubeSphere 4.1.3 and earlier ship a git credential verification endpoint that fetches caller-supplied URLs without any allowlist validation, letting an authenticated user point the server at internal services and capture the basic-auth credentials returned in the endpoint's error handling. The flaw is a classic CWE-918 SSRF that escalates into cross-namespace Secret disclosure because the leaked responses can expose credentials stored in any namespace. No public exploit code or CISA KEV entry has been identified at time of analysis, but the source-level references confirm the vulnerable code paths, and the CVSS 4.0 score of 8.3 reflects high confidentiality impact on both the vulnerable component and subsequent systems.
Server-Side Request Forgery in KubeSphere's multi-cluster controller allows any low-privileged user with Cluster CRD create or update permissions to weaponize the controller-manager and apiserver pods as HTTP proxies against arbitrary internal addresses, RFC1918 networks, and cloud instance metadata services including AWS IMDS at 169.254.169.254. The flaw resides in `pkg/utils/clusterclient/clusterclient.go` (addCluster), where the CRD-specified Kubernetes API endpoint undergoes only Go `url.Parse()` syntax validation before `Discovery().ServerVersion()` is called - no loopback, private-range, link-local, or metadata-address filtering is applied. A public researcher write-up demonstrating the attack path exists; no active exploitation has been confirmed in CISA KEV at time of analysis.