gsd-2022-24895
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-24895",
    "id": "GSD-2022-24895"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-24895"
      ],
      "details": "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. \n\n",
      "id": "GSD-2022-24895",
      "modified": "2023-12-13T01:19:43.365465Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-24895",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "symfony",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 2.0.0, \u003c 4.4.50"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 5.0.0, \u003c 5.4.20"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 6.0.0, \u003c 6.0.20"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 6.1.0, \u003c 6.1.12"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 6.2.0, \u003c 6.2.6"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "symfony"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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. \n\n"
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-384",
                "lang": "eng",
                "value": "CWE-384: Session Fixation"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m",
            "refsource": "MISC",
            "url": "https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m"
          },
          {
            "name": "https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946",
            "refsource": "MISC",
            "url": "https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946"
          },
          {
            "name": "https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4",
            "refsource": "MISC",
            "url": "https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4"
          },
          {
            "name": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml",
            "refsource": "MISC",
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml"
          },
          {
            "name": "https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html",
            "refsource": "MISC",
            "url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-3gv2-29qc-v67m",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=2.0.0,\u003c4.4.50||\u003e=5.0.0,\u003c5.4.20||\u003e=6.0.0,\u003c6.0.20||\u003e=6.1.0,\u003c6.1.12||\u003e=6.2.0,\u003c6.2.6",
          "affected_versions": "All versions starting from 2.0.0 before 4.4.50, all versions starting from 5.0.0 before 5.4.20, all versions starting from 6.0.0 before 6.0.20, all versions starting from 6.1.0 before 6.1.12, all versions starting from 6.2.0 before 6.2.6",
          "cwe_ids": [
            "CWE-1035",
            "CWE-352",
            "CWE-937"
          ],
          "date": "2023-02-01",
          "description": "Cross-Site Request Forgery (CSRF) in symfony/security-bundle.",
          "fixed_versions": [
            "4.4.50",
            "5.4.20",
            "6.0.20",
            "6.1.12",
            "6.2.6"
          ],
          "identifier": "GMS-2023-210",
          "identifiers": [
            "GHSA-3gv2-29qc-v67m",
            "GMS-2023-210",
            "CVE-2022-24895"
          ],
          "not_impacted": "All versions before 2.0.0, all versions starting from 4.4.50 before 5.0.0, all versions starting from 5.4.20 before 6.0.0, all versions starting from 6.0.20 before 6.1.0, all versions starting from 6.1.12 before 6.2.0, all versions starting from 6.2.6",
          "package_slug": "packagist/symfony/security-bundle",
          "pubdate": "2023-02-01",
          "solution": "Upgrade to versions 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6 or above.",
          "title": "Cross-Site Request Forgery (CSRF)",
          "urls": [
            "https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m",
            "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml",
            "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2022-24895.yaml",
            "https://symfony.com/cve-2022-24895",
            "https://github.com/advisories/GHSA-3gv2-29qc-v67m"
          ],
          "uuid": "b35cf073-4f4e-4a0a-a713-f1a5916a6d0d"
        },
        {
          "affected_range": "\u003e=2.0.0,\u003c4.4.50||\u003e=5.0.0,\u003c5.4.20||\u003e=6.0.0,\u003c6.0.20||\u003e=6.1.0,\u003c6.1.12||\u003e=6.2.0,\u003c6.2.6",
          "affected_versions": "All versions starting from 2.0.0 before 4.4.50, all versions starting from 5.0.0 before 5.4.20, all versions starting from 6.0.0 before 6.0.20, all versions starting from 6.1.0 before 6.1.12, all versions starting from 6.2.0 before 6.2.6",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-384",
            "CWE-937"
          ],
          "date": "2023-07-12",
          "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.",
          "fixed_versions": [
            "4.4.50",
            "5.4.20",
            "6.0.20",
            "6.1.12",
            "6.2.6"
          ],
          "identifier": "CVE-2022-24895",
          "identifiers": [
            "CVE-2022-24895",
            "GHSA-3gv2-29qc-v67m",
            "GMS-2023-211"
          ],
          "not_impacted": "All versions before 2.0.0, all versions starting from 4.4.50 before 5.0.0, all versions starting from 5.4.20 before 6.0.0, all versions starting from 6.0.20 before 6.1.0, all versions starting from 6.1.12 before 6.2.0, all versions starting from 6.2.6",
          "package_slug": "packagist/symfony/symfony",
          "pubdate": "2023-02-03",
          "solution": "Upgrade to versions 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6 or above.",
          "title": "Session Fixation",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-24895",
            "https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946",
            "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml",
            "https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m",
            "https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4",
            "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2022-24895.yaml",
            "https://symfony.com/cve-2022-24895",
            "https://github.com/advisories/GHSA-3gv2-29qc-v67m"
          ],
          "uuid": "e4362837-0db2-4668-821c-029bf40b4abc"
        },
        {
          "affected_range": "\u003c0",
          "affected_versions": "All versions starting from 2.0.0 before 4.4.50, all versions starting from 5.0.0 before 5.4.20, all versions starting from 6.0.0 before 6.0.20, all versions starting from 6.1.0 before 6.1.12, all versions starting from 6.2.0 before 6.2.6",
          "cwe_ids": [
            "CWE-1035",
            "CWE-352",
            "CWE-937"
          ],
          "date": "2023-02-01",
          "description": "Cross-Site Request Forgery (CSRF) in symfony/symfony.",
          "fixed_versions": [
            "4.4.50",
            "5.4.20",
            "6.0.20",
            "6.1.12",
            "6.2.6"
          ],
          "identifier": "GMS-2023-211",
          "identifiers": [
            "GHSA-3gv2-29qc-v67m",
            "GMS-2023-211",
            "CVE-2022-24895"
          ],
          "not_impacted": "All versions before 2.0.0, all versions starting from 4.4.50 before 5.0.0, all versions starting from 5.4.20 before 6.0.0, all versions starting from 6.0.20 before 6.1.0, all versions starting from 6.1.12 before 6.2.0, all versions starting from 6.2.6",
          "package_slug": "packagist/symfony/symfony",
          "pubdate": "2023-02-01",
          "solution": "Upgrade to versions 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6 or above.",
          "title": "Duplicate of ./packagist/symfony/symfony/CVE-2022-24895.yml",
          "urls": [
            "https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m",
            "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml",
            "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2022-24895.yaml",
            "https://symfony.com/cve-2022-24895",
            "https://github.com/advisories/GHSA-3gv2-29qc-v67m"
          ],
          "uuid": "b860a124-7fb1-466c-af71-7584c9a72a1d"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "6.2.6",
                "versionStartIncluding": "6.2.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "6.1.12",
                "versionStartIncluding": "6.1.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "6.0.20",
                "versionStartIncluding": "6.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "4.4.50",
                "versionStartIncluding": "2.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "5.4.20",
                "versionStartIncluding": "5.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2022-24895"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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. \n\n"
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-384"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946"
            },
            {
              "name": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking"
              ],
              "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml"
            },
            {
              "name": "https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m"
            },
            {
              "name": "https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4"
            },
            {
              "name": "https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html",
              "refsource": "MISC",
              "tags": [],
              "url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2023-07-12T01:15Z",
      "publishedDate": "2023-02-03T22:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.