cve.bz

CVE-2023-46733 sensiolabs symfony: Session Fixation

6.5 mediumEPSS 0.9%Fix available

Medium (6.5) in sensiolabs symfony. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in symfony/security-http 5.4.31, 6.3.8.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-384 Session Fixation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-46733 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-46733?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-46733?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-46733 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sensiolabs:symfonyfrom 5.4.21 before 5.4.31
sensiolabs:symfonyfrom 6.2.7 before 6.3.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m2wj-r6g3-fxfxPackagistsymfony/security-http>=5.4.21 <5.4.315.4.31
GHSA-m2wj-r6g3-fxfxPackagistsymfony/security-http>=6.2.7 <6.3.86.3.8
GHSA-m2wj-r6g3-fxfxPackagistsymfony/symfony>=5.4.21 <5.4.315.4.31
GHSA-m2wj-r6g3-fxfxPackagistsymfony/symfony>=6.2.7 <6.3.86.3.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12symfony5.4.23+dfsg-1+deb12u1DEBIAN-CVE-2023-46733
Debian13, 14symfony5.4.31+dfsg-1DEBIAN-CVE-2023-46733

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Attack patterns (CAPEC)

  • CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
  • CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies Likelihood: High · Severity: High
  • CAPEC-39 Manipulating Opaque Client-based Data Tokens Likelihood: High · Severity: Medium
  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
  • CAPEC-61 Session Fixation Likelihood: Medium · Severity: High
  • CAPEC-196 Session Credential Falsification through Forging Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON