Telepresence session hijacking in Traffic Manager Tunnel endpoint
telepresenceio telepresence
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/telepresenceio/telepresence/v2 Go |
|
|
Original description
Telepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager Tunnel gRPC streaming endpoint parses a session ID from the first bytes of a caller-controlled message in pkg/tunnel/message.go and passes it to state.Tunnel without verifying that the caller owns the active session. An attacker who obtains a valid active session ID through log leakage, cluster-internal channels, or the unauthenticated ArriveAsClient endpoint can attach a routed tunnel to that session and gain its network routing capabilities. UUID4 session IDs make cold brute force impractical. This vulnerability is fixed in 2.31.0.
From the CVE record · GitHub_M