CVE-2021-21424: Prevent user enumeration in authentication mechanisms

Affected versions¶ Symfony >=2.8.0, <3.4.48 || >= 4.0.0, <4.4.23 || >= 5.0.0, <5.2.8 versions of the Symfony Security, Security Guard, Security Core, and Security HTTP components are affected by this security issue. The issue has been fixed in Symfony 3.4.48, 4.4.23, 5.2.8, and 5.3.0 beta4. All other affected minor versions of Symfony won’t be patched as they are not maintained anymore. Description¶ The ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not. It was also possible to enumerate users by using a timing attack, by comparing time elapsed when authenticating an existing user and authenticating a non-existing user. We now ensure that 403s are returned whether the user exists or not if the password is invalid or if the user does not exist. The patch for this issue is available here for branch 3.4. Credits¶ I would like to thank James Isaac and Mathias Brodala for reporting the issue and Robin Chalas for fixing the issue.

                Sponsor the Symfony project.

http://feedproxy.google.com/~r/symfony/blog/~3/z8Fe1a3Il98/cve-2021-21424-prevent-user-enumeration-in-authentication-mechanisms

Établi 4y | 12 mai 2021, 14:22:32


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

A Week of Symfony #952 (March 24–30, 2025)

This week, Symfony 6.4.20 and 7.2.5 maintenance versions were released. In addition, Symfony successfully celebrated the SymfonyLive Paris 2025 conference and continued preparations for next week's Sy

30 mars 2025, 09:30:09 | Symfony
Symfony 6.4.20 released

Symfony 6.4.20 has just been released. Here is the list of the most important changes since 6.4.19:

bug #60054 [Form] Use duplicate_preferred_choices to set value of ChoiceType (@aleho)

bug #5985

28 mars 2025, 15:40:28 | Symfony
Symfony 7.2.5 released

Symfony 7.2.5 has just been released. Here is the list of the most important changes since 7.2.4:

bug #60054 [Form] Use duplicate_preferred_choices to set value of ChoiceType (@aleho)

bug #60026

28 mars 2025, 15:40:27 | Symfony
SymfonyLive Berlin 2025 starts in a week!

SymfonyLive Berlin 2025 is almost here! Join us next week for an exciting event filled with fresh talks, inspiring speakers, and everything you need to make the most of this incredible gatheri

26 mars 2025, 08:10:11 | Symfony
New Core Team Member, Symfony CLI

After announcing the Symfony UX Core Team and adding more core team members earlier this year, I'm back again with a great addition to the Symfony Core Team. I'm very excited to announce that Tugdual

24 mars 2025, 16:40:18 | Symfony
A Week of Symfony #951 (March 17–23, 2025)

This week, the upcoming Symfony 7.3 version updated its default configuration to exclude container extensions, entities and messenger messages when registering services, and made some changes related

23 mars 2025, 10:40:03 | Symfony
SymfonyLive Paris 2025: See you next week!

SymfonyLive Paris 2025, conference in French language only, is just around the corner! Next week, we’ll come together for an exciting event featuring brand-new talks, inspiring speakers, and e

20 mars 2025, 15:30:20 | Symfony