Skip to content
OpenAdvisories
High · 8.8 CVE-2018-11406 EUVD-2022-3882GHSA-g4g7-q726-v5hg

Symfony CSRF Token Fixation

Published Jun 13, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in the Security component in Symfony 2.7.x before 2.7.48, 2.8.x before 2.8.41, 3.3.x before 3.3.17, 3.4.x before 3.4.11, and 4.0.x before 4.0.11. By default, a user's session is invalidated when the user is logged out. This behavior can be disabled through the invalidate_session option. In this case, CSRF tokens were not erased during logout which allowed for CSRF token fixation.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony 3.4.12+dfsg-1 —
Debian 13 symfony 3.4.12+dfsg-1 —
Debian 12 symfony 3.4.12+dfsg-1 —
Debian 9 symfony 2.8.7+dfsg-1.3+deb9u1 DSA-4262-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS symfony No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS symfony No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/security >= 2.7.0, < 2.7.48 2.7.48 GHSA-g4g7-q726-v5hg
Packagist symfony/security >= 2.8.0, < 2.8.41 2.8.41 GHSA-g4g7-q726-v5hg
Packagist symfony/security >= 3.0.0, < 3.3.17 3.3.17 GHSA-g4g7-q726-v5hg
Packagist symfony/security >= 3.4.0, < 3.4.11 3.4.11 GHSA-g4g7-q726-v5hg
Packagist symfony/security >= 4.0.0, < 4.0.11 4.0.11 GHSA-g4g7-q726-v5hg
Packagist symfony/security-bundle >= 2.7.0, < 2.7.48 2.7.48 GHSA-g4g7-q726-v5hg
Packagist symfony/security-bundle >= 2.8.0, < 2.8.41 2.8.41 GHSA-g4g7-q726-v5hg
Packagist symfony/security-bundle >= 3.0.0, < 3.3.17 3.3.17 GHSA-g4g7-q726-v5hg
Packagist symfony/security-bundle >= 3.4.0, < 3.4.11 3.4.11 GHSA-g4g7-q726-v5hg
Packagist symfony/security-bundle >= 4.0.0, < 4.0.11 4.0.11 GHSA-g4g7-q726-v5hg
Packagist symfony/security-http >= 2.7.0, < 2.7.48 2.7.48 GHSA-g4g7-q726-v5hg
Packagist symfony/security-http >= 2.8.0, < 2.8.41 2.8.41 GHSA-g4g7-q726-v5hg
Packagist symfony/security-http >= 3.0.0, < 3.3.17 3.3.17 GHSA-g4g7-q726-v5hg
Packagist symfony/security-http >= 3.4.0, < 3.4.11 3.4.11 GHSA-g4g7-q726-v5hg
Packagist symfony/security-http >= 4.0.0, < 4.0.11 4.0.11 GHSA-g4g7-q726-v5hg
Packagist symfony/symfony >= 2.7.0, < 2.7.48 2.7.48 GHSA-g4g7-q726-v5hg
Packagist symfony/symfony >= 2.8.0, < 2.8.41 2.8.41 GHSA-g4g7-q726-v5hg
Packagist symfony/symfony >= 3.0.0, < 3.3.17 3.3.17 GHSA-g4g7-q726-v5hg
Packagist symfony/symfony >= 3.4.0, < 3.4.11 3.4.11 GHSA-g4g7-q726-v5hg
Packagist symfony/symfony >= 4.0.0, < 4.0.11 4.0.11 GHSA-g4g7-q726-v5hg

Advisories 1

References