Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2022-36633 EUVD-2022-6495GHSA-6xf3-5hp7-xqqg

Improper token validation leading to code execution in Teleport

Published Aug 24, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
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

References