Denied Host Validation Bypass in Zitadel Actions
zitadel
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/zitadel/zitadel Go |
|
zitadel
| Product | Affected | Fixed in |
|---|---|---|
| github.com/zitadel/zitadel Go |
|
≥ 0.0.0 · < 1.80.0-v2.20.0.20241022141644-79fb4cc1cc6eall versions
|
Zitadel is open-source identity infrastructure software. Versions prior to 2.64.1, 2.63.6, 2.62.8, 2.61.4, 2.60.4, 2.59.5, and 2.58.7 have a flaw in the URL validation mechanism of Zitadel actions allows bypassing restrictions intended to block requests to localhost (127.0.0.1). The isHostBlocked check, designed to prevent such requests, can be circumvented by creating a DNS record that resolves to 127.0.0.1. This enables actions to send requests to localhost despite the intended security measures. This vulnerability potentially allows unauthorized access to unsecured internal endpoints, which may contain sensitive information or functionalities. Versions 2.64.1, 2.63.6, 2.62.8, 2.61.4, 2.60.4, 2.59.5, and 2.58.7 contain a patch. No known workarounds are available.
From the CVE record · GitHub_M
Zitadel actions can bypass a check intended to block requests to localhost when a DNS record resolves to 127.0.0.1. An attacker who can create such a record and cause an action to make a request could reach unsecured internal endpoints. The input does not specify authentication requirements or user interaction.
Engineers running Zitadel or the Go package github.com/zitadel/zitadel should check versions earlier than the applicable patched release: 2.64.1, 2.63.6, 2.62.8, 2.61.4, 2.60.4, 2.59.5, or 2.58.7.