critical9.8
CVE-2023-37265
CasaOS Gateway vulnerable to incorrect identification of source IP addresses
Impact
### 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 - 391dd7f - https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos/
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/IceWhaleTech/CasaOS-Gateway | < 0.4.4 | 0.4.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Icewhale | Casaos | before 0.4.4 Version 0.4.4 |
| Icewhale | Casaos-Gateway | before 0.4.4 Version 0.4.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/IceWhaleTech/CasaOS-Gateway/commit/391dd7f0f239020c46bf057cfa25f82031fc15f7
- https://github.com/IceWhaleTech/CasaOS-Gateway/security/advisories/GHSA-vjh7-5r6x-xh6g
- https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos
- 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