SecurityContext

CVE-2022-24895: Symfony - Cross Site Request Forgery

  • Cve: CVE-2022-24895
  • Name: Symfony - Cross Site Request Forgery
  • Description: Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.
  • Impact: Attackers can bypass CSRF protection, potentially leading to unauthorized actions on behalf of authenticated users.
  • Remediation: Update to the latest 4.4 branch or later versions where the issue is fixed.
  • Vulnerability type: cross_site_request_forgery
  • Vulnerability impact: data_tampering
  • Requirement type: user_interaction
  • Requirements: Attacker needs to perform session fixation attack
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00812
  • Epss percentile: 0.57918
  • Assignee: [email protected]
  • Published at: 2023-02-03T22:15:11Z
  • Age in days: 1390
  • Modified at: 2026-06-17T04:32:45Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24895
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-384Session Fixation
CWE-613DEPRECATED: Insufficient Session Expiration

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946Patch
https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4Patch
https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67mPatch, Third Party Advisory
https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yamlIssue Tracking
https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html

Products

ProductAffectedPlatform boundSourcesUrl
sensiolabs:symfony>= 6.2.0, < 6.2.6; >= 6.1.0, < 6.1.12; >= 6.0.0, < 6.0.20; >= 5.0.0, < 5.4.20; >= 2.0.0, < 4.4.50nonvd/v1/products/sensiolabs/symfony

Projects

Same in every row:

  • Indexed: yes
RepositoryLink kindsUrl
symfony/symfonycommit, fix, package, security_advisory/v1/repositories/symfony/symfony
symfony/security-bundlecommit, fix/v1/repositories/symfony/security-bundle
symfony/security-httpfix/v1/repositories/symfony/security-http

Index

  • Repositories: 9
  • Repositories high signal: 3
  • Packages: 2

Exploitation

  • Remote: yes
  • Exposed hosts: 168779
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports