SS-2018-018: Database credentials disclosure during connection failure
- Moderate (?)
- Versions Affected:
- silverstripe/framework: ^3.7.0, ^4.0.0
- Versions Fixed:
- silverstripe/framework: 3.7.1, 4.0.5, 4.1.3, 4.2.2, 4.3.0-rc1
- Release Date:
When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.
We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.
Reported by Dylan Wagstaff (SilverStripe Ltd) and Lukas Erni.