GHSA-vjh7-5r6x-xh6g
CasaOS Gateway vulnerable to incorrect identification of source IP addresses
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/IceWhaleTech/CasaOS-Gateway | < 0.4.4 | 0.4.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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/
References
External links from the advisory. They lead to third-party sites.
- https://github.com/IceWhaleTech/CasaOS-Gateway/security/advisories/GHSA-vjh7-5r6x-xh6g
- https://nvd.nist.gov/vuln/detail/CVE-2023-37265
- https://github.com/IceWhaleTech/CasaOS-Gateway/commit/391dd7f0f239020c46bf057cfa25f82031fc15f7
- https://github.com/IceWhaleTech/CasaOS-Gateway
- https://pkg.go.dev/vuln/GO-2023-1932
- https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos