Skip to content

CasaOS contains weak JWT secrets

Critical severity GitHub Reviewed Published Jul 17, 2023 in IceWhaleTech/CasaOS • Updated Nov 11, 2023

Package

gomod github.com/IceWhaleTech/CasaOS (Go)

Affected versions

< 0.4.4

Patched versions

0.4.4

Description

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

References

@tigerinus tigerinus published to IceWhaleTech/CasaOS Jul 17, 2023
Published to the GitHub Advisory Database Jul 17, 2023
Reviewed Jul 17, 2023
Published by the National Vulnerability Database Jul 17, 2023
Last updated Nov 11, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2023-37266

GHSA ID

GHSA-m5q5-8mfw-p2hr

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.