CVE-2024-49757 Zitadel User Registration Bypass Vulnerability

High 7.5 Published Updated

Attackers can bypass disabled user registration restrictions by directly accessing the registration URL, allowing unauthorized account creation.

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

What is CVE-2024-49757?

CVE-2024-49757 is a high-severity authentication bypass vulnerability in zitadel, published on 25 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration. Due to a missing security check in versions prior to 2.64.0, 2.63.5, 2.62.7, 2.61.4, 2.60.4, 2.59.5, and 2.58.7, disabling the "User Registration allowed" option only hid the registration button on the login page. Users could bypass this restriction by directly accessing the registration URL (/ui/login/loginname) and register a user that way. Versions 2.64.0, 2.63.5, 2.62.7, 2.61.4, 2.60.4, 2.59.5, and 2.58.7 contain a patch. No known workarounds are available.

Weakness: CWE-287

Which versions are affected by CVE-2024-49757?

13 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 versions2.58.7
github.com/zitadel/zitadel GoAll versions2.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
7 more packages
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.7
github.com/zitadel/zitadel GoFrom 2.62.02.62.7
github.com/zitadel/zitadel GoFrom 2.63.02.63.5
github.com/zitadel/zitadel GoFrom 2.63.02.63.5

Products include Zitadel Zitadel.

How do I fix CVE-2024-49757?

Upgrade github.com/zitadel/zitadel to a fixed version for your release line: 2.58.7, 2.59.5, 2.60.4 or 2.61.4.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-49757 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-49757 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-3rmw-76m6-4gjc, GO-2024-3217.

Is CVE-2024-49757 in your software?

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

Check your SBOMs for free