CasaOS contains weak JWT secrets
### 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 - 705bf1f - https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos/
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2023-37266US | critical9.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 com… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/IceWhaleTech/CasaOSPACKAGE
- https://github.com/IceWhaleTech/CasaOS/commit/705bf1facbffd2ca40b159b0303132b6fdf657adWEB
- https://github.com/IceWhaleTech/CasaOS/security/advisories/GHSA-m5q5-8mfw-p2hrWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-37266ADVISORY
- https://pkg.go.dev/vuln/GO-2023-1931WEB
- https://www.sonarsource.com/blog/security-vulnerabilities-in-casaosWEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan