Advisory

GHSA-g4g7-q726-v5hg

Also known as: CVE-2018-11406

Summary

Symfony CSRF Token Fixation

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 01:14 UTC
Modified
2024-02-18 05:31 UTC

Affected packages and fixes

20 affected packages; all Packagist · All systems
PackageAffectedFix
symfony/symfonyintroduced 2.7.0, fixed 2.7.48The export has no generic command for this ecosystem.
symfony/symfonyintroduced 2.8.0, fixed 2.8.41The export has no generic command for this ecosystem.
symfony/symfonyintroduced 3.0.0, fixed 3.3.17The export has no generic command for this ecosystem.
symfony/symfonyintroduced 3.4.0, fixed 3.4.11The export has no generic command for this ecosystem.
symfony/symfonyintroduced 4.0.0, fixed 4.0.11The export has no generic command for this ecosystem.
symfony/security-bundleintroduced 2.7.0, fixed 2.7.48The export has no generic command for this ecosystem.
symfony/security-bundleintroduced 2.8.0, fixed 2.8.41The export has no generic command for this ecosystem.
symfony/security-bundleintroduced 3.0.0, fixed 3.3.17The export has no generic command for this ecosystem.
symfony/security-bundleintroduced 3.4.0, fixed 3.4.11The export has no generic command for this ecosystem.
symfony/security-bundleintroduced 4.0.0, fixed 4.0.11The export has no generic command for this ecosystem.
symfony/security-httpintroduced 2.7.0, fixed 2.7.48The export has no generic command for this ecosystem.
symfony/security-httpintroduced 2.8.0, fixed 2.8.41The export has no generic command for this ecosystem.
symfony/security-httpintroduced 3.0.0, fixed 3.3.17The export has no generic command for this ecosystem.
symfony/security-httpintroduced 3.4.0, fixed 3.4.11The export has no generic command for this ecosystem.
symfony/security-httpintroduced 4.0.0, fixed 4.0.11The export has no generic command for this ecosystem.
symfony/securityintroduced 2.7.0, fixed 2.7.48The export has no generic command for this ecosystem.
symfony/securityintroduced 2.8.0, fixed 2.8.41The export has no generic command for this ecosystem.
symfony/securityintroduced 3.0.0, fixed 3.3.17The export has no generic command for this ecosystem.
symfony/securityintroduced 3.4.0, fixed 3.4.11The export has no generic command for this ecosystem.
symfony/securityintroduced 4.0.0, fixed 4.0.11The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences