Description
Cua computer-server versions before 0.3.42 skip authentication when the CONTAINER_NAME environment variable is unset and bind to all interfaces by default, allowing unauthenticated attackers to execute arbitrary commands. Attackers can reach TCP port 8000 to run shell commands via the run_command endpoint, read and write arbitrary files through file operation endpoints, and access interactive PTY shells without authentication.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
trycua cua-computer-server
Default version status: unaffected
0 to < 0.3.42affected
pkg:pypi/cua-computer-serverReferences
- https://github.com/trycua/cua/issues/1892 ↗
- https://github.com/trycua/cua/blob/10a2e71792db/libs/python/computer-server/computer_server/main.py ↗
- https://github.com/trycua/cua/blob/10a2e71792db/libs/python/computer-server/computer_server/cli.py ↗
- https://github.com/trycua/cua/commit/59cf25c0ec54 ↗
- https://github.com/trycua/cua ↗
- https://www.vulncheck.com/advisories/cua-computer-server-before-0.3.42-unauthenticated-rce-via-desktop-control ↗