S4E just found a high top 10 tcp port service scan
critical·Product Based Web Vulnerabilities·Updated Mar 8, 2024

CVE-2023-22463 Scanner

CVE-2023-22463 scanner - Admin Authentication Bypass vulnerability in KubePi

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
0
Times Used
by S4E users
0
Assets Scanned
domains & IPs
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2023-22463
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.

KubePi is a k8s panel. The jwt authentication function of KubePi through version 1.6.2 uses hard-coded Jwtsigkeys, resulting in the same Jwtsigkeys for all online projects. This means that an attacker can forge any jwt token to take over the administrator account of any online project. Furthermore, they may use the administrator to take over the k8s cluster of the target enterprise. `session.go`, the use of hard-coded JwtSigKey, allows an attacker to use this value to forge jwt tokens arbitrarily. The JwtSigKey is confidential and should not be hard-coded in the code. The vulnerability has been fixed in 1.6.3. In the patch, JWT key is specified in app.yml. If the user leaves it blank, a random key will be used. There are no workarounds aside from upgrading.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
KubePiby KubeOperator
< 1.6.3
Updated Aug 19, 2026View on NVD →
Detail

KubePi is a modern, web-based interface for managing Kubernetes clusters, offering administrators and developers an intuitive platform to deploy, manage, and troubleshoot applications. It simplifies complex Kubernetes operations, making it easier to manage containerized applications across different environments. KubePi is designed for both small and large-scale deployments, providing a centralized point of control for Kubernetes clusters. Its user-friendly dashboard offers real-time insights into cluster performance, resource usage, and operational status. KubePi is widely adopted for its ease of use, flexibility, and comprehensive management features, serving as a critical tool for organizations leveraging Kubernetes for their cloud-native applications.

CVE-2023-22463 describes a critical Admin Authentication Bypass vulnerability in KubePi, affecting versions up to 1.6.2. This vulnerability stems from the use of hard-coded JwtSigKeys within the jwt authentication function, leading to identical JwtSigKeys across all deployments. This flaw allows attackers to forge jwt tokens and gain unauthorized access to administrator accounts on any KubePi instance, potentially leading to a full takeover of the underlying Kubernetes cluster. The vulnerability highlights the risk of using hard-coded secrets in authentication mechanisms and underscores the importance of secure configuration practices.

In affected versions of KubePi, the `session.go` file contains a hard-coded JwtSigKey, which is used for jwt token generation and validation. This lack of variability in the JwtSigKey means that an attacker who obtains the key from one instance of KubePi can generate valid jwt tokens, impersonating administrators on any other instance. This security oversight allows unauthorized access to administrative functionalities within KubePi, thereby compromising the security of the Kubernetes clusters it manages. The exploitation of this vulnerability requires no special privileges, making it a critical security issue that must be addressed promptly.

Exploiting this vulnerability could lead to a range of severe consequences, including unauthorized administrative access to KubePi interfaces, unauthorized control over Kubernetes clusters, potential data breach or loss, and disruption of cluster operations. Attackers could deploy malicious containers, alter cluster configurations, exfiltrate sensitive information, or perform a denial of service against the Kubernetes infrastructure. The breach of administrative boundaries posed by this vulnerability undermines the security and integrity of affected systems, leading to potentially significant impacts on the confidentiality, integrity, and availability of the Kubernetes environments managed via KubePi.

Joining the S4E platform equips users with advanced tools to detect and mitigate vulnerabilities like CVE-2023-22463 in KubePi. Our platform provides continuous monitoring, vulnerability assessment, and actionable remediation guidance to secure your digital infrastructure against current and emerging threats. Members benefit from comprehensive cybersecurity services designed to enhance organizational resilience, protect sensitive data, and maintain operational integrity. Embrace proactive security management with S4E and safeguard your Kubernetes clusters from sophisticated cyber threats.

 

References

Solution Advice
  1. Immediately upgrade to KubePi version 1.6.3 or later, which addresses this vulnerability by allowing JWT keys to be specified in `app.yml`. A random key is used if left unspecified.
  2. Review and update your security configurations to ensure JWT keys are securely managed and not hard-coded.
  3. Conduct a security audit of your KubePi installation to identify and remediate any unauthorized changes made by attackers.
  4. Regularly update your software to incorporate security patches and protect against known vulnerabilities.
  5. Educate your team on the importance of secure authentication practices and the risks associated with hard-coded credentials.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.