ADVISORIES

GitHub Advisory Database

GHSA-vjh7-5r6x-xh6g

CasaOS Gateway vulnerable to incorrect identification of source IP addresses

Details

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

EcosystemPackageAffected versions
Gogithub.com/IceWhaleTech/CasaOS-Gateway
All versions before 0.4.4 (fixed in 0.4.4)

References