Affected versions
Version ranges need review.
- Affected versions
- < 0.4.4
- Fixed version
- 0.4.4
- Affected versions
- <0.4.4
- Fixed version
- 0.4.4
Exploitation
Description
Impact
Unauthenticated attackers can execute arbitrary commands as root on CasaOS instances.
Patches
The problem was addressed by improving the detection of client IP addresses in 391dd7f. 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
Links
- https://github.com/IceWhaleTech/CasaOS-Gateway
- https://github.com/IceWhaleTech/CasaOS-Gateway/commit/391dd7f0f239020c46bf057cfa25f82031fc15f7
- https://github.com/IceWhaleTech/CasaOS-Gateway/security/advisories/GHSA-vjh7-5r6x-xh6g
- https://github.com/advisories/GHSA-vjh7-5r6x-xh6g
- https://nvd.nist.gov/vuln/detail/CVE-2023-37265
- https://pkg.go.dev/vuln/GO-2023-1932
- https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos
Credits
- thomas-chauchefoin-sonarsource

