silverstripe/framework sends passwords back to browsers under some circumstances
The advisory, in context
Under some circumstances a form may populate a PasswordField with submitted data, reflecting submitted data back to a user. The user will only see their own submissions for password data, which is not considered best practice. We are not aware of data leaks to other users, devices or sessions.
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.
From 3.5.5-rc1 before 3.7.0
Fixed in 3.7.0
23 explicitly affected versions
3.5.5, 3.5.6, 3.5.6-rc1, 3.5.7, 3.5.8, 3.5.8-rc1, 3.6.0, 3.6.0-beta1, 3.6.0-beta2, 3.6.0-rc1, 3.6.1, 3.6.1-alpha2, 3.6.2, 3.6.2-beta1, 3.6.2-beta2, 3.6.3, 3.6.3-rc2, 3.6.4, 3.6.5, 3.6.6, 3.6.6-rc1, 3.6.7, 3.6.8
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.5.5-rc1"
},
{
"fixed": "3.7.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.5.5",
"3.5.6",
"3.5.6-rc1",
"3.5.7",
"3.5.8",
"3.5.8-rc1",
"3.6.0",
"3.6.0-beta1",
"3.6.0-beta2",
"3.6.0-rc1",
"3.6.1",
"3.6.1-alpha2",
"3.6.2",
"3.6.2-beta1",
"3.6.2-beta2",
"3.6.3",
"3.6.3-rc2",
"3.6.4",
"3.6.5",
"3.6.6",
"3.6.6-rc1",
"3.6.7",
"3.6.8"
]
}From 4.0.3-rc1 before 4.0.4
Fixed in 4.0.4
1 explicitly affected versions
4.0.3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.3-rc1"
},
{
"fixed": "4.0.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.3"
]
}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/c28f411abd4837cdd9dbf87c4457976e678131cb
- https://github.com/silverstripe/silverstripe-framework/commit/f688bcb1a370e41df1b573a24fa3994b3895bacf
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-013-1.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/download/security-releases/ss-2018-013