Loading advisory.
Loading advisory.
silverstripe/framework ChangePasswordForm does not check `Member::canLogIn()`
After performing a password reset, ChangePasswordForm::doChangePassword() logs in the user without checking Member::canLogIn().
Published 2024-05-27 18:36 UTC · Modified 2024-12-02 05:47 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| silverstripe/framework | Packagist | >= 3.1.19-rc1, < 3.1.20 >= 3.2.4-rc1, < 3.2.5 >= 3.3.2-rc1, < 3.3.3 >= 3.4.0-rc1, < 3.4.1 versions 3.1.19, 3.1.19-rc1, 3.1.20-rc1, 3.1.20-rc2, 3.2.4, 3.2.4-rc1, 3.2.5-rc1, 3.2.5-rc2, 3.3.2, 3.3.2-rc1, 3.3.3-rc1, 3.3.3-rc2, 3.4.0, 3.4.0-rc1, 3.4.1-rc1, 3.4.1-rc2 | 3.1.20, 3.2.5, 3.3.3, 3.4.1 | composer require 'silverstripe/framework:>=3.1.20'composer require 'silverstripe/framework:>=3.2.5'composer require 'silverstripe/framework:>=3.3.3'composer require 'silverstripe/framework:>=3.4.1' |
After performing a password reset, ChangePasswordForm::doChangePassword() logs in the user without checking Member::canLogIn(). This presents an issue for sites that are using the extension point in that method to deny access to users (for example members that have not been “approved”, or members that have had their access revoked temporarily). It looks like Member::canLogIn() was originally designed to only be used for checking whether the user is locked out (due to too many incorrect login attempts) but has been opened up to other uses.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.