HIGH7.5
GHSA-4qx8-j9vh-2628
silverstripe/framework's User-Agent header not correctly invalidating user session
Quick fix
GHSA-4qx8-j9vh-2628 — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.5.6Details
A security protection device in Session designed to protect session hijacking was not correctly functioning. This function intended to protect user sessions by detecting changes in the User-Agent header, but modifications to this header were not correctly invalidating the user session.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
3.5.0-rc1Fixed in: 3.5.6Fix
composer require silverstripe/framework:^3.5.6Packagist/silverstripe/framework
Introduced in:
3.6.0-rc1Fixed in: 3.6.3Fix
composer require silverstripe/framework:^3.6.3References
- https://github.com/silverstripe/silverstripe-framework/commit/44de03da0147e6094b02602b7b73d5b1a1306d78[WEB]
- https://github.com/silverstripe/silverstripe-framework/commit/d47667bb0768841e4b305fa95d5a4e2ba232c4ad[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-006-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/download/security-releases/ss-2017-006[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/silverstripe/framework"]}'