Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Teleport v10.1.1 - Remote Code Execution (RCE) EDB-51019 · remote · Sep 23, 2022
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/gravitational/teleport | < 8.3.17 | 8.3.17 | GHSA-6xf3-5hp7-xqqg |
| Go | github.com/gravitational/teleport | >= 9.0.0, < 9.3.13 | 9.3.13 | GHSA-6xf3-5hp7-xqqg |
| Go | github.com/gravitational/teleport | >= 10.0.0, < 10.1.2 | 10.1.2 | GHSA-6xf3-5hp7-xqqg |