Staging Environment: Content and features may be unstable or change without notice.

Advisory Weakness Curation

CVE-2021-21424

Progress 0 / 0

Advisory Summaries

github_osv/GHSA-5pv8-ppvj-4h68

Prevent user enumeration using Guard or the new Authenticator-based Security 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. Resolution ---------- 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 https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011 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.

gitlab/packagist/symfony/form/CVE-2021-21424

Information Exposure Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that error codes are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist.

gitlab/packagist/symfony/http-foundation/CVE-2021-21424

Information Exposure Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that error codes are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist.

gitlab/packagist/symfony/http-kernel/CVE-2021-21424

Information Exposure Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that error codes are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist.

gitlab/packagist/symfony/security-core/CVE-2021-21424

Exposure of Sensitive Information to an Unauthorized Actor Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that s are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist. The patch for this issue is available for branch

gitlab/packagist/symfony/security/CVE-2021-21424

Information Exposure Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that error codes are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist.

gitlab/packagist/symfony/security-guard/CVE-2021-21424

Exposure of Sensitive Information to an Unauthorized Actor Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that s are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist.

gitlab/packagist/symfony/security-http/CVE-2021-21424

Information Exposure Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that error codes are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist.

gitlab/packagist/symfony/symfony/CVE-2021-21424

Information Exposure Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that status codes are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist.