p PatchFirst

CVE-2023-46733

CVE-2023-46733 · Symfony possible session fixation vulnerability

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 5.4.21 and 6.2.7 and prior to versions 5.4.31 and 6.3.8, `SessionStrategyListener` does not migrate the session after every successful login. It does so only in case the logged in user changes by means of checking the user identifier. In some use cases, the user identifier doesn't change between the verification phase and the successful login, while the token itself changes from one type (partially-authenticated) to another (fully-authenticated). When this happens, the session id should be regenerated to prevent possible session fixations, which is not the case at the moment. As of versions 5.4.31 and 6.3.8, Symfony now checks the type of the token in addition to the user identifier before deciding whether the session id should be regenerated.

CVSS 6.5 · Medium · EPSS 0.7% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • symfony

    Versions
    • >= 5.4.21, < 5.4.31: Affected
    • >= 6.2.7, < 6.3.8: Affected

    No fix published

  • symfony Debian:12

    Versions
    • 5.4.23+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 5.4.23+dfsg-1+deb12u1

    Update to 5.4.23+dfsg-1+deb12u1

  • symfony Debian:13

    Affected ranges
    • ECOSYSTEM: < 5.4.31+dfsg-1

    Update to 5.4.31+dfsg-1

  • symfony Debian:14

    Affected ranges
    • ECOSYSTEM: < 5.4.31+dfsg-1

    Update to 5.4.31+dfsg-1

  • symfony/security-http Packagist

    Versions
    • v5.4.21
    • v5.4.22
    • v5.4.23
    • v5.4.26
    • v5.4.28
    • v5.4.30
    Affected ranges
    • ECOSYSTEM: ≥ 5.4.21, < 5.4.31

    Update to 5.4.31

  • symfony/security-http Packagist

    Versions
    • v6.2.10
    • v6.2.11
    • v6.2.13
    • v6.2.7
    • v6.2.8
    • v6.3.0
    • v6.3.0-BETA1
    • v6.3.0-RC1
    • v6.3.1
    • v6.3.2
    • v6.3.4
    • v6.3.5
    • v6.3.6
    Affected ranges
    • ECOSYSTEM: ≥ 6.2.7, < 6.3.8

    Update to 6.3.8

  • symfony/symfony Packagist

    Versions
    • v5.4.21
    • v5.4.22
    • v5.4.23
    • v5.4.24
    • v5.4.25
    • v5.4.26
    • v5.4.27
    • v5.4.28
    • v5.4.29
    • v5.4.30
    Affected ranges
    • ECOSYSTEM: ≥ 5.4.21, < 5.4.31

    Update to 5.4.31

  • symfony/symfony Packagist

    Versions
    • v6.2.10
    • v6.2.11
    • v6.2.12
    • v6.2.13
    • v6.2.14
    • v6.2.7
    • v6.2.8
    • v6.2.9
    • v6.3.0
    • v6.3.0-BETA1
    • v6.3.0-BETA2
    • v6.3.0-BETA3
    • v6.3.0-RC1
    • v6.3.0-RC2
    • v6.3.1
    • v6.3.2
    • v6.3.3
    • v6.3.4
    • v6.3.5
    • v6.3.6
    • v6.3.7
    Affected ranges
    • ECOSYSTEM: ≥ 6.2.7, < 6.3.8

    Update to 6.3.8

Original sources

Check your server →