CVE-2024-41952: Zitadel has an "Ignoring unknown usernames" vulnerability

Published Jul 31, 2024
·
Updated

Impact

ZITADEL administrators can enable a setting called "Ignoring unknown usernames" which helps mitigate attacks that try to guess/enumerate usernames. If enabled, ZITADEL will show the password prompt even if the user doesn't exist and report "Username or Password invalid". Due to a implementation change to prevent deadlocks calling the database, the flag would not be correctly respected in all cases and an attacker would gain information if an account exist within ZITADEL, since the error message shows "object not found" instead of the generic error message.

Patches

2.x versions are fixed on >= 2.58.1 2.57.x versions are fixed on >= 2.57.1 2.56.x versions are fixed on >= 2.56.2 2.55.x versions are fixed on >= 2.55.5 2.54.x versions are fixed on >= 2.54.8 2.53.x versions are fixed on >= 2.53.9

ZITADEL recommends upgrading to the latest versions available in due course.

Workarounds

There is no workaround since a patch is already available.

Questions

If you have any questions or comments about this advisory, please email us at security@zitadel.com

Other sources

Zitadel is an open source identity management system. ZITADEL administrators can enable a setting called "Ignoring unknown usernames" which helps mitigate attacks that try to guess/enumerate usernames. If enabled, ZITADEL will show the password prompt even if the user doesn't exist and report "Username or Password invalid". Due to a implementation change to prevent deadlocks calling the database, the flag would not be correctly respected in all cases and an attacker would gain information if an account exist within ZITADEL, since the error message shows "object not found" instead of the generic error message. This vulnerability is fixed in 2.58.1, 2.57.1, 2.56.2, 2.55.5, 2.54.8, and 2.53.9.

— MITRE

Affected Software

16 affected componentsFixes available
ZITADEL ZITADEL>=2.53.0<2.53.9
ZITADEL ZITADEL>=2.54.0<2.54.8
ZITADEL ZITADEL>=2.55.0<2.55.5
ZITADEL ZITADEL>=2.56.0<2.56.2
ZITADEL ZITADEL=2.57.0
ZITADEL ZITADEL=2.57.0-rc1
ZITADEL ZITADEL=2.57.0-rc2
ZITADEL ZITADEL=2.58.0
go/github.com/zitadel/zitadel>=1.80.0-v2.20.0.20230609131415-dafa8ab4dfe8<1.80.0-v2.20.0.20240731122357-a1d24353db4d
1.80.0-v2.20.0.20240731122357-a1d24353db4d
go/github.com/zitadel/zitadel>=0.0.0-20230609131415-dafa8ab4dfe8<0.0.0-20240731122357-a1d24353db4d
0.0.0-20240731122357-a1d24353db4d
go/github.com/zitadel/zitadel=2.58.0
2.58.1
go/github.com/zitadel/zitadel=2.57.0
2.57.1
go/github.com/zitadel/zitadel>=2.56.0<=2.56.1
2.56.2
go/github.com/zitadel/zitadel>=2.55.0<=2.55.4
2.55.5
go/github.com/zitadel/zitadel>=2.54.0<=2.54.7
2.54.8
go/github.com/zitadel/zitadel>=2.53.0<=2.53.8
2.53.9

Event History

Jul 31, 2024
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:02 PM
Data Sourced
via GitHub·09:02 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-41952?

CVE-2024-41952 has a moderate severity level due to its potential impact on user enumeration attacks.

2

How do I fix CVE-2024-41952?

To mitigate CVE-2024-41952, ensure that the setting for 'Ignoring unknown usernames' is enabled in the ZITADEL configuration.

3

What versions are affected by CVE-2024-41952?

CVE-2024-41952 affects ZITADEL versions prior to 2.58.1, including versions 2.57.1 and lower.

4

What is the purpose of the 'Ignoring unknown usernames' feature in relation to CVE-2024-41952?

The 'Ignoring unknown usernames' feature helps prevent attackers from guessing or enumerating valid usernames.

5

Are there any workarounds for CVE-2024-41952?

As a workaround for CVE-2024-41952, administrators can enable the 'Ignoring unknown usernames' option to enhance security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203