CVE-2020-5275
published 2020-03-30CVE-2020-5275: In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Firewall` checks access control rule, it iterate overs each rule's attributes and stops as…
PriorityP344high8.1CVSS 3.1
AVNACLPRLUINSUCHIHAN
EPSS
1.15%
63.2th percentile
In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Firewall` checks access control rule, it iterate overs each rule's attributes and stops as soon as the accessDecisionManager decides to grant access on the attribute, preventing the check of next attributes that should have been take into account in an unanimous strategy. The accessDecisionManager is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute. This issue is patched in versions 4.4.7 and 5.0.7.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | < symfony 4.4.8-1 (bookworm) | symfony 4.4.8-1 (bookworm) |
| sensiolabs | symfony | >= 4.4.0 < 4.4.7 | 4.4.7 |
| sensiolabs | symfony | >= 5.0.0 < 5.0.7 | 5.0.7 |
| symfony | security | >= 4.4.0 < 4.4.7 | 4.4.7 |
| symfony | security | >= 5.0.0 < 5.0.7 | 5.0.7 |
| symfony | security-http | >= 4.4.0 < 4.4.7 | 4.4.7 |
| symfony | security-http | >= 5.0.0 < 5.0.7 | 5.0.7 |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 4.4.0 < 4.4.7 | 4.4.7 |
| symfony | symfony | >= 5.0.0 < 5.0.7 | 5.0.7 |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:N
osv8.1HIGH
vendor_debian7.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2020-5275: symfony - In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Firewall` chec...
vendor_debian·2020·CVSS 7.6
CVE-2020-5275 [HIGH] CVE-2020-5275: symfony - In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Firewall` chec...
In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Firewall` checks access control rule, it iterate overs each rule's attributes and stops as soon as the accessDecisionManager decides to grant access on the attribute, preventing the check of next attributes that should have been take into account in an unanimous strategy. The accessDecisionManager is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute. This issue is patched in versions 4.4.7 and 5.0.7.
Scope: local
bookworm: resolved (fixed in 4.4.8-1)
bullseye: resolved (fixed in 4.4.8-1)
forky: resolved (fixed in 4.4.8-1)
sid: resolved (fixed in 4.4.8-1)
trixie: resolved (fixed in 4.4.8-1)
GHSA
Firewall configured with unanimous strategy was not actually unanimous in Symfony
ghsa·2020-03-30
CVE-2020-5275 [HIGH] CWE-285 Firewall configured with unanimous strategy was not actually unanimous in Symfony
Firewall configured with unanimous strategy was not actually unanimous in Symfony
Description
On Symfony before 4.4.0, when a `Firewall` checks an access control rule (using the unanimous strategy), it iterates over all rule attributes and grant access only if *all* calls to the `accessDecisionManager` decide to grant access.
As of Symfony 4.4.0, a bug was introduced that prevents the check of attributes as soon as `accessDecisionManager` decide to grant access on one attribute.
Resolution
The `accessDecisionManager` is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf) for the 4.4 branch.
Credits
I wo
OSV
Firewall configured with unanimous strategy was not actually unanimous in Symfony
osv·2020-03-30
CVE-2020-5275 [HIGH] Firewall configured with unanimous strategy was not actually unanimous in Symfony
Firewall configured with unanimous strategy was not actually unanimous in Symfony
Description
On Symfony before 4.4.0, when a `Firewall` checks an access control rule (using the unanimous strategy), it iterates over all rule attributes and grant access only if *all* calls to the `accessDecisionManager` decide to grant access.
As of Symfony 4.4.0, a bug was introduced that prevents the check of attributes as soon as `accessDecisionManager` decide to grant access on one attribute.
Resolution
The `accessDecisionManager` is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf) for the 4.4 branch.
Credits
I wo
OSV
CVE-2020-5275: In symfony/security-http before versions 4
osv·2020-03-30·CVSS 8.1
CVE-2020-5275 [HIGH] CVE-2020-5275: In symfony/security-http before versions 4
In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Firewall` checks access control rule, it iterate overs each rule's attributes and stops as soon as the accessDecisionManager decides to grant access on the attribute, preventing the check of next attributes that should have been take into account in an unanimous strategy. The accessDecisionManager is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute. This issue is patched in versions 4.4.7 and 5.0.7.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-5275 php-symfony4: symfony: Insuficient atributes checking in firewall function could result in unauthorized access [fedora-all]
bugzilla·2020-04-03·CVSS 7.6
CVE-2020-5275 [HIGH] CVE-2020-5275 php-symfony4: symfony: Insuficient atributes checking in firewall function could result in unauthorized access [fedora-all]
CVE-2020-5275 php-symfony4: symfony: Insuficient atributes checking in firewall function could result in unauthorized access [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit me
Bugzilla
CVE-2020-5275 symfony: Insuficient atributes checking in firewall function could result in unauthorized access
bugzilla·2020-04-03·CVSS 7.6
CVE-2020-5275 [HIGH] CVE-2020-5275 symfony: Insuficient atributes checking in firewall function could result in unauthorized access
CVE-2020-5275 symfony: Insuficient atributes checking in firewall function could result in unauthorized access
In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Firewall` checks access control rule, it iterate overs each rule's attributes and stops as soon as the accessDecisionManager decides to grant access on the attribute, preventing the check of next attributes that should have been take into account in an unanimous strategy.
Discussion:
Upstream Reference:
https://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72
---
Created php-symfony4 tracking bugs for this issue:
Affects: fedora-all [bug 1820555]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red
https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebfhttps://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebfhttps://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/
2020-03-30
Published