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

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.1

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.