6.8medium
Authentication granted with multiple firewalls
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.39% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-rfcf-m67m-jcrqBIT-SYMFONY-2021-32693
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| symfony symfony | >= 5.3.0, < 5.3.2 | CVE List |
| symfony/security-http (Packagist) | from 5.3.0 before 5.3.2 | GitHub Advisory Database |
| symfony/symfony (Packagist) | from 5.3.0 before 5.3.2 | GitHub Advisory Database |
| sensiolabs symfony | from 5.3.0 before 5.3.2 | NVD |
| symfony (Bitnami) | from 5.3.0 before 5.3.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Description
When an application defines multiple firewalls, the authenticated token delivered by one of the firewalls is available to all other firewalls. This can be abused when the application defines different providers for different parts of an application. In such a situation, a user authenticated on one part of the application is considered authenticated on the whole application.
Resolution
We now ensure that the authenticated token is only available for the firewall that generates it.
The patch for this issue is available here for branch 5.3.
Credits
I would like to thank Bogdan, gndk, Paweł Warchoł, Warxcell, and Adrien Lamotte for reporting the issue and Wouter J for fixing the issue.
NVD (es)
Symfony es un framework PHP para aplicaciones web y de consola y un ajuste de componentes PHP reutilizables. Una vulnerabilidad relacionada con la autenticación del firewall se presenta en Symfony a partir de versión 5.3.0 y anteriores a 5.3.2. Cuando una aplicación define múltiples firewalls, el token autenticado por uno de los firewalls estaba disponible para todos los otros firewalls. Esto podría ser abusado cuando la aplicación define diferentes proveedores para cada parte de la aplicación, en tal situación, un usuario autenticado en una parte de la aplicación podría ser considerado autenticado en el resto de la aplicación. A partir de versión 5.3.2, un parche asegura que el token autenticado sólo está disponible para el firewall que lo genera
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32693 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rfcf-m67m-jcrq changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-32693 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-SYMFONY-2021-32693 changed 2024-03-06 | Apache-2.0 |