GitHub Advisoryadvisory · Packagist

GHSA-rfcf-m67m-jcrq Authentication granted to all firewalls instead of just one

MEDIUM Published 2021-06-21 Modified 2024-02-05 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