GHSA-m5q3-mvcr-gc5mhigh7.5
silverstripe/framework BackURL validation bypass with malformed URLs
No CVE assignedCheck your stack
The advisory, in context
A carefully constructed malformed URL can be used to circumvent the offsite redirection protection used on BackURL parameters. This could lead to users entering sensitive data in malicious websites instead of the intended one.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
silverstripe/framework Packagist
Ecosystem versions
From 4.0.0-rc1 before 4.0.4
Fixed in 4.0.4
8 explicitly affected versions
4.0.0, 4.0.0-rc1, 4.0.0-rc2, 4.0.0-rc3, 4.0.1, 4.0.1-rc1, 4.0.2, 4.0.3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.0-rc1"
},
{
"fixed": "4.0.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.0",
"4.0.0-rc1",
"4.0.0-rc2",
"4.0.0-rc3",
"4.0.1",
"4.0.1-rc1",
"4.0.2",
"4.0.3"
]
}silverstripe/framework Packagist
Ecosystem versions
From 4.1.0-rc1 before 4.1.1
Fixed in 4.1.1
3 explicitly affected versions
4.1.0, 4.1.0-rc1, 4.1.0-rc2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.1.0-rc1"
},
{
"fixed": "4.1.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.1.0",
"4.1.0-rc1",
"4.1.0-rc2"
]
}References
- https://github.com/silverstripe/silverstripe-framework/commit/9053014a7e2eba28d000881e0bb3cc1d6e6b2eea
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-008-1.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/download/security-releases/ss-2018-008