silverstripe/silverstripe-framework · Security
silverstripe/framework's install.php script discloses sensitive data by pre-populating DB credential forms
- GHSA ID
- GHSA-r3pr-fh25-wrfc
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
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.
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
References
- https://github.com/silverstripe/silverstripe-framework/commit/7a79cd039a96ef54182263d5fbb72addf093b171 ↗
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-010-1.yaml ↗
- https://www.silverstripe.org/download/security-releases/ss-2017-010 ↗
- https://github.com/advisories/GHSA-r3pr-fh25-wrfc ↗