User session hijacking vulnerability in silverstripe/framework

silverstripe/framework Updated 02 Oct 2025

Summary

27/05/2024
HIGH
Yes i
High
7.5

GHSA-4qx8-j9vh-2628: silverstripe/framework's User-Agent header not correctly invalidating user session. Affects silverstripe/framework across 2 version ranges.

>= 3.5.0-rc1, < 3.5.6 >= 3.6.0-rc1, < 3.6.3

Fixed in 3.5.6 or 3.6.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

silverstripe/framework is an open-source PHP framework used for building websites and web applications. It provides a range of features and functionalities to developers, including session management. However, a vulnerability has been identified in the framework's handling of the User-Agent header, which can lead to session hijacking.

Vulnerability Detail

The vulnerability in silverstripe/framework allows an attacker to bypass the session protection mechanism by modifying the User-Agent header. The framework is designed to detect changes in the User-Agent header and invalidate the user session if any modifications are detected. However, due to a flaw in the implementation, this protection mechanism does not work as intended. As a result, an attacker can modify the User-Agent header and maintain an active session, potentially leading to unauthorized access and data exposure.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.5.0-rc1, < 3.5.6 3.5.6
    composer require silverstripe/framework:3.5.6
  • >= 3.6.0-rc1, < 3.6.3 3.6.3
    composer require silverstripe/framework:3.6.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update to the fixed versions of silverstripe/framework as soon as possible.

Conclusion

The user session hijacking vulnerability in silverstripe/framework can have serious security implications, allowing attackers to maintain active sessions even after modifying the User-Agent header. It is crucial for developers to update to the fixed versions of the framework (3.5.6 or 3.6.3) to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for silverstripe/framework →

Share this vulnerability

FAQ

silverstripe/framework is a PHP framework used for building websites and web applications. It provides a range of features and functionalities to developers.

Session hijacking is a security attack where an attacker gains unauthorized access to a user's session by stealing or manipulating session identifiers.

The User-Agent header is a part of the HTTP request that contains information about the client making the request. By detecting changes in the User-Agent header, the framework can identify potential session hijacking attempts and invalidate the user session.

This vulnerability can lead to unauthorized access to user accounts and sensitive data. Attackers can maintain active sessions even after modifying the User-Agent header, potentially compromising the security and privacy of users.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, providing valuable insights without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for silverstripe/framework.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.5.0-rc1, < 3.5.6 3.5.6
    composer require silverstripe/framework:3.5.6
  • >= 3.6.0-rc1, < 3.6.3 3.6.3
    composer require silverstripe/framework:3.6.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback