GitHub Advisoryadvisory · Go

GHSA-6xf3-5hp7-xqqg Improper token validation leading to code execution in Teleport

HIGH Published 2022-08-25 Modified 2022-09-27 Official page ↗
Aliases
CVE-2022-36633
Ecosystem
Go
Packages
github.com/gravitational/teleport
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-20, CWE-77
Reviewed
2022-08-30

Affected packages

• Go github.com/gravitational/teleport: < 8.3.17 → fixed in 8.3.17 • Go github.com/gravitational/teleport: >= 9.0.0, < 9.3.13 → fixed in 9.3.13 • Go github.com/gravitational/teleport: >= 10.0.0, < 10.1.2 → fixed in 10.1.2

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.

Related

Alias · CVE (1)

  • CVE-2022-36633 Teleport 9.3.6 is vulnerable to Command injection leading to Remote Code Execution. vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References