GitHub Advisoryadvisory · Packagist
GHSA-rfcf-m67m-jcrq Authentication granted to all firewalls instead of just one
MEDIUM
Official page ↗
- Aliases
- CVE-2021-32693
- Ecosystem
- Packagist
- Packages
- symfony/security-http, symfony/symfony
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-287
- Reviewed
- 2021-06-18
Affected packages
• Packagist symfony/security-http: >= 5.3.0, < 5.3.2 → fixed in 5.3.2
• Packagist symfony/symfony: >= 5.3.0, < 5.3.2 → fixed in 5.3.2
Description
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.
Related
Alias · CVE (1)
- CVE-2021-32693 Symfony is a PHP framework for web and console applications and a set of reusable PHP components. vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://github.com/symfony/symfony/security/advisories/GHSA-rfcf-m67m-jcrq web
- https://nvd.nist.gov/vuln/detail/CVE-2021-32693 advisory
- https://github.com/symfony/security-http/commit/6bf4c31219773a558b019ee12e54572174ff8129 web
- https://github.com/symfony/symfony/commit/3084764ad82f29dbb025df19978b9cbc3ab34728 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2021-32693.yaml web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2021-32693.yaml web
- https://github.com/symfony/security-http package
- https://symfony.com/blog/cve-2021-32693-authentication-granted-to-all-firewalls-instead-of-just-one web
- https://symfony.com/cve-2021-32693 web