CVE-2015-8124: Symfony/symfony Symfony Session Fixation Vulnerability Vulnerability

LOW
Advisory Identifier: GHSA-j5jh-hpr4-h332
CVSS 3.1
CWE-384
Published
Advisory Summary

CVE-2015-8124 is a LOW (CVSS 3.1) symfony session fixation vulnerability vulnerability (CWE-384: Session Fixation) affecting Symfony/symfony libraries in the Packagist ecosystem. The issue involves symfony session fixation vulnerability. Remediation is available by upgrading affected packages to version 2.3.35, 2.6.12, 2.7.7.

CVE-2015-8124 at a Glance

CVE Identifier CVE-2015-8124
GHSA Identifier GHSA-j5jh-hpr4-h332
Severity LOW
CVSS v3.1 Base Score 3.1
CWE Classification CWE-384: Session Fixation
Affected Product Symfony/symfony
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 3.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2015-8124

To remediate this vulnerability, upgrade all affected Symfony/symfony dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

symfony/symfony fixed: 2.3.35
Upgrade symfony/symfony to 2.3.35
symfony/symfony fixed: 2.6.12
Upgrade symfony/symfony to 2.6.12
symfony/symfony fixed: 2.7.7
Upgrade symfony/symfony to 2.7.7
symfony/security-http fixed: 2.6.12
Upgrade symfony/security-http to 2.6.12
symfony/security-http fixed: 2.7.7
Upgrade symfony/security-http to 2.7.7
symfony/security fixed: 2.3.35
Upgrade symfony/security to 2.3.35
symfony/security fixed: 2.6.12
Upgrade symfony/security to 2.6.12
symfony/security fixed: 2.7.7
Upgrade symfony/security to 2.7.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for symfony/symfony

How to Check if You Are Affected

To determine whether your application is affected by CVE-2015-8124, inspect your project dependencies for Symfony/symfony:

inspect dependencies for symfony/symfony

Analyze the terminal output to locate any version of Symfony/symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.35), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Symfony/symfony, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A session fixation vulnerability within the "Remember Me" login feature allows an attacker to impersonate the victim towards the web application if the session id value was previously known to the attacker. This issue has been fixed in Symfony 2.3.35, 2.6.12, and 2.7.7. Note that no fixes are provided for Symfony 2.4 and 2.5 as they are not maintained anymore. Symfony 2.8 and 3.0 haven't been released yet and the fix will be included in their first stable releases.

CVE-2015-8124 Affected Symfony/symfony Versions

8 component(s)
Fixed Versions:
2.3.352.6.122.7.7
Product / Package Ecosystem Affected Versions Fixed Version
symfony/symfony
Packagist
≥ 2.3.0
< 2.3.35
2.3.35
symfony/symfony
Packagist
≥ 2.4.0
< 2.6.12
2.6.12
symfony/symfony
Packagist
≥ 2.7.0
< 2.7.7
2.7.7
symfony/security-http
Packagist
≥ 2.4.0
< 2.6.12
2.6.12
symfony/security-http
Packagist
≥ 2.7.0
< 2.7.7
2.7.7
symfony/security
Packagist
≥ 2.3.0
< 2.3.35
2.3.35
symfony/security
Packagist
≥ 2.4.0
< 2.6.12
2.6.12
symfony/security
Packagist
≥ 2.7.0
< 2.7.7
2.7.7

References

NVD — CVE-2015-8124 NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-8124
Symfony/symfony Source Repository REPOSITORY
https://github.com/symfony/symfony/pull/16631
Symfony/symfony Source Repository REPOSITORY
https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2015-8124.yaml
Symfony/symfony Source Repository REPOSITORY
https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2015-8124.yaml
Symfony/symfony Source Repository REPOSITORY
https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-8124.yaml
symfony.com/blog/cve-2015-8124-... WEB
https://symfony.com/blog/cve-2015-8124-session-fixation-in-the-remember-me-login-feature
symfony.com/cve-2015-8124 WEB
https://symfony.com/cve-2015-8124
Symfony/symfony Security Information SECURITY
https://web.archive.org/web/20201209020014/http://www.securityfocus.com/archive/1/537183/100/0/threaded
Symfony/symfony Security Information SECURITY
https://web.archive.org/web/20210125123853/http://www.securityfocus.com/bid/77694
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173271.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173300.html
seclists.org/fulldisclosure/2015... WEB
http://seclists.org/fulldisclosure/2015/Dec/89
Symfony/symfony Security Information SECURITY
http://www.debian.org/security/2015/dsa-3402

Frequently Asked Questions

What is CVE-2015-8124?
CVE-2015-8124 is a security vulnerability in Symfony/symfony involving Symfony Session Fixation Vulnerability under CWE-384: Session Fixation.
Which Symfony/symfony versions are affected?
Affected versions include releases prior to 2.3.35, 2.6.12, 2.7.7 across affected packages: symfony/symfony, symfony/security-http, symfony/security.
What version fixes CVE-2015-8124?
Upgrading to 2.3.35, 2.6.12, 2.7.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is symfony/symfony affected?
Yes, symfony/symfony is affected in releases prior to 2.3.35, 2.6.12, 2.7.7. Upgrade your dependency to 2.3.35, 2.6.12, 2.7.7 or later.
Is symfony/security-http affected?
Yes, symfony/security-http is affected in releases prior to 2.6.12, 2.7.7. Upgrade your dependency to 2.6.12, 2.7.7 or later.
What is the CVSS score of CVE-2015-8124?
CVE-2015-8124 has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2015-8124?
CVE-2015-8124 is classified under CWE-384: Session Fixation (Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.).
How can I check Packagist dependencies for CVE-2015-8124?
Run the dependency tree command: 'inspect dependencies for symfony/symfony'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j5jh-hpr4-h332",
  "modified" : "2024-02-08T19:16:23Z",
  "published" : "2022-05-14T02:47:28Z",
  "aliases" : [ "CVE-2015-8124" ],
  "summary" : "Symfony Session Fixation Vulnerability",
  "details" : "A session fixation vulnerability within the \"Remember Me\" login feature allows an attacker to impersonate the victim towards the web application if the session id value was previously known to the attacker. This issue has been fixed in Symfony 2.3.35, 2.6.12, and 2.7.7. Note that no fixes are provided for Symfony 2.4 and 2.5 as they are not maintained anymore. Symfony 2.8 and 3.0 haven't been released yet and the fix will be included in their first stable releases.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.0"
      }, {
        "fixed" : "2.3.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.6.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.6.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.0"
      }, {
        "fixed" : "2.3.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.6.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8124"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/pull/16631"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2015-8124.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2015-8124.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-8124.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/blog/cve-2015-8124-session-fixation-in-the-remember-me-login-feature"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/cve-2015-8124"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201209020014/http://www.securityfocus.com/archive/1/537183/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210125123853/http://www.securityfocus.com/bid/77694"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173271.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173300.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2015/Dec/89"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2015/dsa-3402"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-384" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-02T21:06:13Z",
    "nvd_published_at" : "2015-12-07T20:59:00Z"
  }
}