GHSA-r3pr-fh25-wrfc

Suggest an improvement
Source
https://github.com/advisories/GHSA-r3pr-fh25-wrfc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-r3pr-fh25-wrfc/GHSA-r3pr-fh25-wrfc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-r3pr-fh25-wrfc
Published
2024-05-27T22:54:06Z
Modified
2024-12-02T05:47:07.643165Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
silverstripe/framework's install.php script discloses sensitive data by pre-populating DB credential forms
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-27T22:54:06Z"
}
References

Affected packages

Packagist / silverstripe/framework

Package

Name
silverstripe/framework
Purl
pkg:composer/silverstripe/framework

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0-rc1
Fixed
4.0.1

Affected versions

4.*

4.0.0-rc1
4.0.0-rc2
4.0.0-rc3
4.0.0
4.0.1-rc1