NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-p5h2-vr99-xm99: silverstripe/framework ChangePasswordForm does not check `Member::canLogIn()`

mediumCVSS 3.1 4.3

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

Published May 27, 2024

Affected packages

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.1.19-rc1, < 3.1.20
Fixed in
3.1.20
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.2.4-rc1, < 3.2.5
Fixed in
3.2.5
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.3.2-rc1, < 3.3.3
Fixed in
3.3.3
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.4.0-rc1, < 3.4.1
Fixed in
3.4.1
Check
composer show silverstripe/framework

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries