Vulnerability · Published Jun 17, 2021 · Assigned by GitHub_M
CVE-2021-32693Authentication granted with multiple firewalls
Medium 6.8
In plain English
A medium-severity improper authentication in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | symfony/security-http | 5.3.2 | GHSA-rfcf-m67m-jcrq |
| Packagist | symfony/symfony | 5.3.2 | GHSA-rfcf-m67m-jcrq |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/symfony/symfony/security/advisories/GHSA-rfcf-m67m-jcrq x_refsource_CONFIRM
- https://github.com/symfony/security-http/commit/6bf4c31219773a558b019ee12e54572174ff8129 x_refsource_MISC
- https://github.com/symfony/symfony/commit/3084764ad82f29dbb025df19978b9cbc3ab34728 x_refsource_MISC
- https://symfony.com/blog/cve-2021-32693-authentication-granted-to-all-firewalls-instead-of-just-one x_refsource_MISC