Advisory

GHSA-vjh7-5r6x-xh6g

Also known as: CVE-2023-37265, GO-2023-1932

Summary

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/

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-07-17 14:36 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/IceWhaleTech/CasaOS-Gateway

Go · All systems

Affected

  • introduced 0, fixed 0.4.4 (semver)

Fixed versions

0.4.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences