Advisory

GHSA-6xf3-5hp7-xqqg

Also known as: CVE-2022-36633

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-08-25 00:00 UTC
Modified
2026-08-07 08:12 UTC

Affected packages and fixes

github.com/gravitational/teleport

Go · All systems

Affected

  • introduced 0, fixed 8.3.17 (semver)

Fixed versions

8.3.17

Fix

github.com/gravitational/teleport

Go · All systems

Affected

  • introduced 9.0.0, fixed 9.3.13 (semver)

Fixed versions

9.3.13

Fix

github.com/gravitational/teleport

Go · All systems

Affected

  • introduced 10.0.0, fixed 10.1.2 (semver)

Fixed versions

10.1.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences