Cross-site request forgery in Symfony - CVE-2018-11406

 

Cross-site request forgery in Symfony - CVE-2018-11406

Published: June 13, 2018 / Updated: July 17, 2020


Vulnerability identifier: #VU31283
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-11406
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website, such as be disabled through the invalidate_session option. In this case, CSRF tokens were not erased during logout which allowed for CSRF token fixation.


Affected software

Symfony
Fedora
php-symfony
php-symfony3
php-symfony4

How to mitigate CVE-2018-11406

Update to version 4.0.11.

Symfony - update to 4.0.11
php-symfony - addressed in versions 2.8.41-1.fc28, 2.8.42-1.fc27
php-symfony3 - addressed in versions 3.3.17-1.fc27, 3.4.11-1.fc28
php-symfony4 - update to 4.0.11-1.fc28

External References

Related Security Bulletins