GHSA-ph62-fv59-vf9h silverstripe/framework users inadvertently passing sensitive data to LoginAttempt
Attackers with database access can read plain-text sensitive data, such as passwords, from login attempt logs in SilverStripe.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-ph62-fv59-vf9h?
GHSA-ph62-fv59-vf9h 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
All user login attempts are logged in the database in the LoginAttempt table. However, this table contains information in plain text, and may possible contain sensitive information, such as user passwords mis-typed into the username field.
In order to address this a one-way hash is applied to the Email field before being stored.
Which versions are affected by GHSA-ph62-fv59-vf9h?
6 open source packages ship an affected version, including silverstripe/framework.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 3.5.0-rc1 | 3.5.6 |
silverstripe/framework Packagist | From 3.5.0-rc1 | 3.5.6 |
silverstripe/framework Packagist | From 3.6.0-rc1 | 3.6.3 |
silverstripe/framework Packagist | From 3.6.0-rc1 | 3.6.3 |
silverstripe/framework Packagist | From 4.0.0-rc1 | 4.0.1 |
silverstripe/framework Packagist | From 4.0.0-rc1 | 4.0.1 |
How do I fix GHSA-ph62-fv59-vf9h?
Upgrade silverstripe/framework to a fixed version for your release line: 3.5.6, 3.6.3 or 4.0.1.
Is GHSA-ph62-fv59-vf9h being exploited?
There is no known exploitation of GHSA-ph62-fv59-vf9h in the wild and no public exploit code.