GHSA-6mjq-9x4w-m3w9: Friendsofsymfony/user bundle FOSUserBundle Session Hijacking Vulnerability Vulnerability

HIGH
Published
Advisory Summary

GHSA-6mjq-9x4w-m3w9 is a HIGH fosuserbundle session hijacking vulnerability vulnerability (General Security Weakness) affecting Friendsofsymfony/user bundle libraries in the Packagist ecosystem. The issue involves fosuserbundle session hijacking vulnerability. Remediation is available by upgrading affected packages to version 1.2.4.

GHSA-6mjq-9x4w-m3w9 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-6mjq-9x4w-m3w9
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Friendsofsymfony/user bundle
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-6mjq-9x4w-m3w9

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

friendsofsymfony/user-bundle fixed: 1.2.4
Upgrade friendsofsymfony/user-bundle to 1.2.4
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 friendsofsymfony/user-bundle

How to Check if You Are Affected

To determine whether your application is affected by GHSA-6mjq-9x4w-m3w9, inspect your project dependencies for Friendsofsymfony/user bundle:

inspect dependencies for friendsofsymfony/user-bundle

Analyze the terminal output to locate any version of Friendsofsymfony/user bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.4), 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 General Security Weakness. In Friendsofsymfony/user bundle, 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

Versions of FOSUserBundle from 1.2.x to 1.2.4 have been found to contain a security vulnerability related to session hijacking. This issue has been addressed in version 1.2.4, and users are strongly advised to upgrade to the latest version to prevent potential session-related security risks.

GHSA-6mjq-9x4w-m3w9 Affected Friendsofsymfony/user bundle Versions

1 component(s)
Fixed Versions:
1.2.4
Product / Package Ecosystem Affected Versions Fixed Version
friendsofsymfony/user-bundle
Packagist
≥ 1.2.0
< 1.2.4
1.2.4

References

Frequently Asked Questions

What is GHSA-6mjq-9x4w-m3w9?
GHSA-6mjq-9x4w-m3w9 is a security vulnerability in Friendsofsymfony/user bundle involving FOSUserBundle Session Hijacking Vulnerability under General Security Weakness.
Which Friendsofsymfony/user bundle versions are affected?
Affected versions include releases prior to 1.2.4 across affected packages: friendsofsymfony/user-bundle.
What version fixes GHSA-6mjq-9x4w-m3w9?
Upgrading to 1.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is friendsofsymfony/user-bundle affected?
Yes, friendsofsymfony/user-bundle is affected in releases prior to 1.2.4. Upgrade your dependency to 1.2.4 or later.
What CWE is associated with GHSA-6mjq-9x4w-m3w9?
GHSA-6mjq-9x4w-m3w9 is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-6mjq-9x4w-m3w9?
Run the dependency tree command: 'inspect dependencies for friendsofsymfony/user-bundle'. 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-6mjq-9x4w-m3w9",
  "modified" : "2024-05-15T21:42:56Z",
  "published" : "2024-05-15T21:42:56Z",
  "aliases" : [ ],
  "summary" : "FOSUserBundle Session Hijacking Vulnerability",
  "details" : "Versions of FOSUserBundle from 1.2.x to 1.2.4 have been found to contain a security vulnerability related to session hijacking. This issue has been addressed in version 1.2.4, and users are strongly advised to upgrade to the latest version to prevent potential session-related security risks.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "friendsofsymfony/user-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.0"
      }, {
        "fixed" : "1.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfSymfony/FOSUserBundle/commit/8e412a70cafd924ad04c7325dae423048861b955"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/friendsofsymfony/user-bundle/2012-07-10-2.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/FriendsOfSymfony/FOSUserBundle"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Changelog.md"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:42:56Z",
    "nvd_published_at" : null
  }
}