GHSA-r3pr-fh25-wrfc silverstripe/framework's install.php script discloses sensitive data by pre-populating DB credential forms

Not scored Published

An unauthenticated attacker can view the source of the install.php script to extract pre-configured database credentials and default admin passwords.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-r3pr-fh25-wrfc?

GHSA-r3pr-fh25-wrfc is a vulnerability in silverstripe/framework, published on 27 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Which versions are affected by GHSA-r3pr-fh25-wrfc?

2 open source packages ship an affected version, including silverstripe/framework.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 4.0.0-rc14.0.1
silverstripe/framework PackagistFrom 4.0.0-rc14.0.1

How do I fix GHSA-r3pr-fh25-wrfc?

Upgrade silverstripe/framework to 4.0.1 or later.

Is GHSA-r3pr-fh25-wrfc being exploited?

There is no known exploitation of GHSA-r3pr-fh25-wrfc in the wild and no public exploit code.

Sources

Is GHSA-r3pr-fh25-wrfc in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free