Permissions, Privileges, and Access Controls in Symfony - CVE-2020-5275

 

Permissions, Privileges, and Access Controls in Symfony - CVE-2020-5275

Published: March 31, 2020


Vulnerability identifier: #VU26479
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-5275
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: SensioLabs
Affected software:
Symfony

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass implemented security measures.

The vulnerability exists due to a logical error when processing configured firewall rules in an unanimous configuration in Symfony. 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.

A remote attacker can bypass configured rules and gain unauthorized access to the web application.


How to mitigate CVE-2020-5275

Install updates from vendor's website.

Sources