CVE-2023-37266
Weak json web token (JWT) secrets in CasaOS
Record summary
CVE-2023-37266 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Oct 10, 2024 · Source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
| CVE List | < 0.4.4 | affected | |
casaosBrowse icewhale / casaosDefault status: unknown | CVE List | Before 0.4.4 | affected |
github.com/IceWhaleTech/CasaOSBrowse Go / github.com/IceWhaleTech/CasaOS | GitHub Advisory | Before 0.4.4 · Fixed in 0.4.4 | affected |
Nuclei templates
1ProjectDiscoveryCRITICALCasaOS < 0.4.4 - Authentication Bypass via Random JWT TokenCVSS 9.8
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.
Impact
Successful exploitation allows unauthorized access to the CasaOS system.
Remediation
The problem was addressed by improving the validation of JWTs in 705bf1f. This patch is part of CasaOS 0.4.4.
Source: ProjectDiscovery