Auth bypass in Sensiolabs Symfony
CVE-2021-32693
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.014, 72.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Sensiolabs Symfony
- Symfony — versions >= 5.3.0, < 5.3.2
Weakness classification (CWE)
References
- github.com/symfony/symfony/security/advisories/GHSA-rfcf-m67m-jcrq (Patch, Third Party Advisory)
- github.com/symfony/security-http/commit/6bf4c31219773a558b019ee12e54572174ff8129 (Patch, Third Party Advisory)
- github.com/symfony/symfony/commit/3084764ad82f29dbb025df19978b9cbc3ab34728 (Patch, Third Party Advisory)
- symfony.com/blog/cve-2021-32693-authentication-granted-to-all-firewalls-instead… (Patch, Vendor Advisory)