{"id":"CVE-2023-37266","published":"2023-07-17T20:57:43Z","modified":"2024-12-12T20:51:16Z","title":"Weak json web token (JWT) secrets in CasaOS","vendor":"IceWhaleTech","product":"CasaOS","tier":"tail","description":{"text":"CasaOS is an open-source Personal Cloud system. Unauthenticated attackers can craft arbitrary JWTs and access features that usually require authentication and execute arbitrary commands as `root` on CasaOS instances. This problem was addressed by improving the validation of JWTs in commit `705bf1f`. This patch is part of CasaOS 0.4.4. Users should upgrade to CasaOS 0.4.4. If they can't, they should temporarily restrict access to CasaOS to untrusted users, for instance by not exposing it publicly.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.06844,"percentile":0.94179,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/IceWhaleTech/CasaOS/security/advisories/GHSA-m5q5-8mfw-p2hr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/IceWhaleTech/CasaOS/commit/705bf1facbffd2ca40b159b0303132b6fdf657ad","tags":["x_refsource_MISC"]},{"url":"https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos","tags":["x_refsource_MISC"]}],"priority":{"score":30.7,"factors":[{"name":"EPSS percentile","points":18.84},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"nuclei":[{"id":"CVE-2023-37266","name":"CasaOS  < 0.4.4 - Authentication Bypass via Random JWT Token","severity":"critical","path":"http/cves/2023/CVE-2023-37266.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-37266.yaml"}],"provenance":"source"},"vendorSlug":"icewhaletech","affectedVersions":[{"vendor":"IceWhaleTech","product":"CasaOS","versions":["< 0.4.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-10T19:07:45.107176Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/IceWhaleTech/CasaOS","vulnerableRanges":["<0.4.4"],"patched":["0.4.4"],"from":["GHSA-m5q5-8mfw-p2hr","GO-2023-1931"],"provenance":"source"}],"summary":{"text":"The flaw is in the JWT validation within IceWhaleTech's CasaOS personal cloud system, where weak JWT secrets allow authentication to be bypassed. An unauthenticated attacker with network access to the CasaOS instance can forge JWTs to reach features normally requiring authentication and execute arbitrary commands as root, with no user interaction or prior credentials needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:31:54Z"},"euvd":{"id":"EUVD-2023-2095","exploited":false,"provenance":"source"}}