NetSight
medium6.5No CVE yet

GHSA-m2hh-2m46-x6j5

silverstripe/framework may disclose database credentials during connection failure

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected packages

EcosystemPackageAffectedFixed in
composersilverstripe/framework>= 3.7.0-rc1, < 3.7.13.7.1
composersilverstripe/framework>= 4.0.0-rc1, < 4.0.54.0.5
composersilverstripe/framework>= 4.1.0-rc1, < 4.1.34.1.3
composersilverstripe/framework>= 4.2.0-rc1, < 4.2.24.2.2

Weakness classification

References