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
| Id | Name |
|---|---|
| CWE-384 | Session Fixation |
| CWE-613 | DEPRECATED: Insufficient Session Expiration |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| 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.50 | no | nvd | /v1/products/sensiolabs/symfony |
Projects
Same in every row:
- Indexed: yes
| Repository | Link kinds | Url |
|---|---|---|
| symfony/symfony | commit, fix, package, security_advisory | /v1/repositories/symfony/symfony |
| symfony/security-bundle | commit, fix | /v1/repositories/symfony/security-bundle |
| symfony/security-http | fix | /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