GHSA-rfcf-m67m-jcrq

Suggest an improvement
Source
https://github.com/advisories/GHSA-rfcf-m67m-jcrq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-rfcf-m67m-jcrq/GHSA-rfcf-m67m-jcrq.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-rfcf-m67m-jcrq
Aliases
Published
2021-06-21T17:03:44Z
Modified
2024-02-05T11:18:00.944570Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Authentication granted to all firewalls instead of just one
Details

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.

Database specific
{
    "nvd_published_at": "2021-06-17T23:15:00Z",
    "cwe_ids": [
        "CWE-287"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-06-18T20:33:08Z"
}
References

Affected packages

Packagist / symfony/security-http

Package

Name
symfony/security-http
Purl
pkg:composer/symfony/security-http

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.3.0
Fixed
5.3.2

Affected versions

v5.*

v5.3.0
v5.3.1

Packagist / symfony/symfony

Package

Name
symfony/symfony
Purl
pkg:composer/symfony/symfony

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.3.0
Fixed
5.3.2

Affected versions

v5.*

v5.3.0
v5.3.1