MediumGHSA-r3pr-fh25-wrfc
silverstripe/framework's install.php script discloses sensitive data by pre-populating DB credential forms
Published 27 May 2024 · Updated 2 Dec 2024
Affected package
silverstripe/frameworkComposer
- Affected
- >=4.0.0-rc1 <4.0.1
- Fixed in
- 4.0.1
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.0.1Details
When accessing the install.php script it is possible to extract any pre-configured database or default admin account password by viewing the source of the page, and inspecting the value property of the password fields.
Is GHSA-r3pr-fh25-wrfc in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/framework, and gives you the command that fixes it.
References
- Linkgithub.com/silverstripe/silverstripe-framework/commit/7a79cd039a96ef54182263d5fbb72addf093b171
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-010-1.yaml
- Packagegithub.com/silverstripe/silverstripe-framework
- Linkwww.silverstripe.org/download/security-releases/ss-2017-010
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.