CVE-2024-49753 Denied Host Validation Bypass in Zitadel Actions

Medium 5.9 Published Updated

Attackers can bypass localhost restrictions in Zitadel actions via DNS tricks to access internal endpoints, requiring a patch.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-49753?

CVE-2024-49753 is a medium-severity server-side request forgery vulnerability in zitadel, published on 25 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2024-49753?

19 open source packages ship an affected version, including github.com/zitadel/zitadel. It affects 1 product.

PackageAffectedFixed in
github.com/zitadel/zitadel GoAll versionsNone
github.com/zitadel/zitadel GoAll versions0.0.0-20241022141644-79fb4cc1cc6e
github.com/zitadel/zitadel GoAll versions0.0.0-20241022141644-79fb4cc1cc6e
github.com/zitadel/zitadel GoFrom 0.0.01.80.0-v2.20.0.20241022141644-79fb4cc1cc6e
github.com/zitadel/zitadel GoFrom 0.0.01.80.0-v2.20.0.20241022141644-79fb4cc1cc6e
github.com/zitadel/zitadel GoFrom 1.80.12.58.7
13 more packages
github.com/zitadel/zitadel GoFrom 1.80.12.58.7
github.com/zitadel/zitadel GoFrom 2.59.02.59.5
github.com/zitadel/zitadel GoFrom 2.59.02.59.5
github.com/zitadel/zitadel GoFrom 2.60.02.60.4
github.com/zitadel/zitadel GoFrom 2.60.02.60.4
github.com/zitadel/zitadel GoFrom 2.61.02.61.4
github.com/zitadel/zitadel GoFrom 2.61.02.61.4
github.com/zitadel/zitadel GoFrom 2.62.02.62.8
github.com/zitadel/zitadel GoFrom 2.62.02.62.8
github.com/zitadel/zitadel GoFrom 2.63.02.63.6
github.com/zitadel/zitadel GoFrom 2.63.02.63.6
github.com/zitadel/zitadel GoFrom 2.64.02.64.1
github.com/zitadel/zitadel GoFrom 2.64.02.64.1

Products include Zitadel Zitadel.

How do I fix CVE-2024-49753?

Upgrade github.com/zitadel/zitadel to a fixed version for your release line: 0.0.0-20241022141644-79fb4cc1cc6e, 1.80.0-v2.20.0.20241022141644-79fb4cc1cc6e, 2.58.7 or 2.59.5.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-49753 being exploited?

There is no known exploitation of CVE-2024-49753 in the wild and no public exploit code.

Sources

Also known as GHSA-6cf5-w9h3-4rqv, GO-2024-3216.

Is CVE-2024-49753 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free