CVE-2023-37266
JSON

9.8critical

Weak json web token (JWT) secrets in CasaOS

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
6.79% (higher than 94% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m5q5-8mfw-p2hrGO-2023-1931

Description

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.

Affected

Product or packageVersionsReported by
IceWhaleTech CasaOS< 0.4.4CVE List
icewhale casaosbefore 0.4.4CVE List, NVD
github.com/IceWhaleTech/CasaOS (Go)before 0.4.4GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-287CWE-1391

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

Unauthenticated attackers can craft arbitrary JWTs and access features that usually require authentication and execute arbitrary commands as root on CasaOS instances.

Patches

The problem was addressed by improving the validation of JWTs in 705bf1f. This patch is part of CasaOS 0.4.4.

Workarounds

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.

References
Go Vulnerability Database

CasaOS contains weak JWT secrets in github.com/IceWhaleTech/CasaOS

References

Sources

SourceRecordLicence
CVE ListCVE-2023-37266 changed 2024-12-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-m5q5-8mfw-p2hr changed 2024-12-12CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1931 changed 2026-03-03CC-BY-4.0
NVDCVE-2023-37266 changed 2026-06-17Public domain