Cross-site request forgery in Symfony - CVE-2018-11406
Published: June 13, 2018 / Updated: July 17, 2020
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
Fedora
php-symfony
php-symfony3
php-symfony4
How to mitigate CVE-2018-11406
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
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4XNBMFW33H47O5TZGA7JYCVLDBCXAJV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBQK7JDXIELADIPGZIOUCZKMAJM5LSBW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WU5N2TZFNGXDGMXMPP7LZCWTFLENF6WH/
- https://symfony.com/blog/cve-2018-11406-csrf-token-fixation
- https://www.debian.org/security/2018/dsa-4262