ADVISORIES

GitHub Advisory Database

GHSA-6xf3-5hp7-xqqg

Improper token validation leading to code execution in Teleport

Details

Teleport 9.3.6 is vulnerable to Command injection leading to Remote Code Execution. An attacker can craft a malicious ssh agent installation link by URL encoding a bash escape with carriage return line feed. This url encoded payload can be used in place of a token and sent to a user in a social engineering attack. This is fully unauthenticated attack utilizing the trusted teleport server to deliver the payload.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/gravitational/teleport
All versions before 8.3.17 (fixed in 8.3.17)
Gogithub.com/gravitational/teleport
From 9.0.0 before 9.3.13 (fixed in 9.3.13)
Gogithub.com/gravitational/teleport
From 10.0.0 before 10.1.2 (fixed in 10.1.2)

References