Skip to content

SSRF to arbitrary hosts is possible from low privileged users

Critical
reedloden published GHSA-hw4x-mcx5-9q36 Dec 29, 2023

Package

Teleport Proxy and Agent

Affected versions

>=14.0.0, <14.2.4
>=13.0.0, <13.4.13
<12.4.31

Patched versions

14.2.4
13.4.13
12.4.31

Description

Impact

An authenticated attacker with valid credentials (user or host) can make non-blind Server-Side Request Forgery (SSRF) through the proxy and/or agents to arbitrary hosts.

During investigation of this functionality, it was discovered that there are several permutations where this SSRF is possible. This release addresses all but one: a root proxy administrator with access to the root proxy credentials can make requests through leaf proxies in Trusted Clusters. This behavior will be restricted in future releases. For customers using Teleport in a Trusted Cluster configuration, we encourage leaf clusters to have network restrictions in place to mitigate SSRF. For example, we recommend restricting outbound network connections to only the Auth Service, your SSO provider, and any agents, databases or applications needed to be accessed from the proxy. If running in a cloud environment pay careful attention to what cloud resources are accessible from the proxy.

Patches

Fixed in versions 14.2.4, 13.4.13 and 12.4.31.

Workarounds

Strict network controls from the Teleport Proxy and Teleport Agents reduce the potential exposure from this issue.

References

Severity

Critical

CVE ID

No known CVE

Weaknesses

Credits