Finsys Dockhand
Dockhand: Unauthenticated container exec via WebSocket upgrade
Dockhand is a Docker management application. Prior to 1.0.34, the in-browser container terminal endpoint /api/containers/<id>/exec does not enforce authentication on the WebSocket upgrade request. When an unauthenticated attacker has network reach to Dockhand, knows a target container ID, and targets a container with an interactive shell, the attacker can open a raw WebSocket terminal session and execute commands inside a known target container. This allows unauthenticated command execution inside the container, with possible host compromise when the container has sensitive mounts or privileged execution. This issue is fixed in version 1.0.34.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.0.34
Fixed in 1.0.34
Mitigation
Upgrade dockhand to 1.0.34 or later.
References
- Vendor advisory github.com/Finsys/dockhand/security/advisories…
- Patch github.com/Finsys/dockhand/commit/efb634701c55…
- Release notes github.com/Finsys/dockhand/releases/tag/v1.0.3…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.