silverstripe/framework users inadvertently passing sensitive data to LoginAttempt
Moderate severity
GitHub Reviewed
Published
May 27, 2024
to the GitHub Advisory Database
•
Updated May 27, 2024
Package
Affected versions
>= 3.5.0-rc1, < 3.5.6
>= 3.6.0-rc1, < 3.6.3
>= 4.0.0-rc1, < 4.0.1
Patched versions
3.5.6
3.6.3
4.0.1
Description
Published to the GitHub Advisory Database
May 27, 2024
Reviewed
May 27, 2024
Last updated
May 27, 2024
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.
References