{"answers":{"affected":"3 open source packages ship an affected version, including github.com/KubeOperator/kubepi. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22463 exists.","fix":"Upgrade github.com/KubeOperator/kubepi to 1.6.3 or later.","what":"CVE-2023-22463 is a critical vulnerability in KubeOperator KubePi, published on 4 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-22463 and fix it if it is affected.\n\nWhat it is: CVE-2023-22463 is a critical vulnerability in KubeOperator KubePi, published on 4 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22463 exists.\n\nAffected packages and fixed versions:\n- github.com/KubeOperator/kubepi (Go): affected all versions; fixed in 1.6.3\n- github.com/KubeOperator/kubepi (Go): affected all versions; fixed in 1.6.3\n- github.com/KubeOperator/kubepi (Go): affected all versions; fixed in 1.6.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-22463/ (Markdown: https://insights.sbomify.com/CVE-2023-22463/index.md)","id":"CVE-2023-22463","markdown":"https://insights.sbomify.com/CVE-2023-22463/index.md","name":"CVE-2023-22463","record":{"aliases":["GHSA-vjhf-8vqx-vqpq","GO-2023-1283"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes management panel","requires_auth":"none","summary":"Attackers can forge JWT tokens using hardcoded keys to take over administrator accounts and compromise Kubernetes clusters.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kubepi","vendor":"fit2cloud"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-22463.yaml","stars":null,"title":"KubePi JwtSigKey - Admin Authentication Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"KubePi's Hardcoded Jwtsigkeys allows malicious actor to login with a forged JWT token","id":"CVE-2023-22463","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"hardcoded_credentials","year":"2023"},"n_packages":3,"n_references":4,"next":{"headline":"ViewVC XSS vulnerability in revision view changed path \"copyfrom\" locations","id":"CVE-2023-22464"},"packages":[{"ecosystem":"Go","fixed":["1.6.3"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":null,"source":"GHSA-vjhf-8vqx-vqpq"},{"ecosystem":"Go","fixed":["1.6.3"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":"pkg:golang/github.com/KubeOperator/kubepi","source":"GHSA-vjhf-8vqx-vqpq"},{"ecosystem":"Go","fixed":["1.6.3"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":"pkg:golang/github.com/KubeOperator/kubepi","source":"GO-2023-1283"}],"prev":{"headline":"Stored XSS in Grafana Text plugin","id":"CVE-2023-22462"},"products":["KubePi"],"published":"2023-01-04","related":[{"cvss_score":9.1,"headline":"Privilege Escalation in kubepi","id":"CVE-2023-37917","kev_date_added":null,"published":"2023-07-21"},{"cvss_score":7.5,"headline":"KubePi vulnerable to session fixation attack","id":"CVE-2023-22479","kev_date_added":null,"published":"2023-01-10"},{"cvss_score":7.3,"headline":"KubePi is vulnerable to missing authorization","id":"CVE-2023-22478","kev_date_added":null,"published":"2023-01-14"},{"cvss_score":6.5,"headline":"Leak password hash of any user","id":"CVE-2023-37916","kev_date_added":null,"published":"2023-07-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["KubeOperator"]},"summary":"Attackers can forge JWT tokens using hardcoded keys to take over administrator accounts and compromise Kubernetes clusters.","url":"https://insights.sbomify.com/CVE-2023-22463/"}