CVE-2021-32693 Authentication granted with multiple firewalls
Attackers can bypass authentication boundaries in Symfony apps with multiple firewalls, gaining unauthorized access to protected areas.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-32693?
CVE-2021-32693 is a medium-severity authentication bypass vulnerability in Sensiolabs Symfony, published on 17 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. A vulnerability related to firewall authentication is in Symfony starting with version 5.3.0 and prior to 5.3.2. When an application defines multiple firewalls, the token authenticated by one of the firewalls was available for all other firewalls. This could be abused when the application defines different providers for each part of the application, in such a situation, a user authenticated on a part of the application could be considered authenticated on the rest of the application. Starting in version 5.3.2, a patch ensures that the authenticated token is only available for the firewall that generates it.
Weakness: CWE-287
Which versions are affected by CVE-2021-32693?
5 open source packages ship an affected version, including symfony/security-http, symfony and symfony/symfony. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
symfony/security-http Packagist | From 5.3.0 | 5.3.2 |
symfony/security-http Packagist | From 5.3.0 | 5.3.2 |
symfony Bitnami | From 5.3.0 | 5.3.2 |
symfony/symfony Packagist | From 5.3.0 | 5.3.2 |
symfony/symfony Packagist | From 5.3.0 | 5.3.2 |
Products include Sensiolabs Symfony.
How do I fix CVE-2021-32693?
Upgrade symfony/security-http to 5.3.2 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-32693 being exploited?
There is no known exploitation of CVE-2021-32693 in the wild and no public exploit code.
Other vulnerabilities in Sensiolabs Symfony
Sources
Also known as BIT-symfony-2021-32693, GHSA-rfcf-m67m-jcrq.