Skip to main content

Exposure of Sensitive System Information to an Unauthorized Control Sphere

CVE-2025-34171

Severity Medium
Score 6.9/10

Summary

CasaOS exposed to multiple unauthenticated endpoints that allow remote attackers to retrieve sensitive configuration files and system debug information. The "/v1/users/image" endpoint can be abused with a user-controlled path parameter to access files under "/var/lib/casaos/1/", which reveals installed applications and configuration details. Additionally, "/v1/sys/debug" discloses host operating system, kernel, hardware, and storage information. The endpoints also return distinct error messages, enabling file existence enumeration of arbitrary paths on the underlying host filesystem. This information disclosure can be used for reconnaissance and to facilitate targeted follow-up attacks against services deployed on the host.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • LOW
  • NONE

CWE-497 - Exposure of Sensitive System Information to an Unauthorized Control Sphere

The application does not properly prevent sensitive system-level information from being accessed by unauthorized actors who do not have the same level of access to the underlying system as the application does.

References

Advisory Timeline

  • Published