Security mailing lists by PureSourceCode

GHSA-p5h2-vr99-xm99

MEDIUM 4.3CVSS 3.1

silverstripe/framework ChangePasswordForm does not check `Member::canLogIn()`

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.

Published
27 May 2024
Last modified
2 Dec 2024
Weakness
CWE-287
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist silverstripe/framework >= 3.1.19-rc1, < 3.1.20 3.1.20
OSV Packagist silverstripe/framework >= 3.2.4-rc1, < 3.2.5 3.2.5
OSV Packagist silverstripe/framework >= 3.3.2-rc1, < 3.3.3 3.3.3
OSV Packagist silverstripe/framework >= 3.4.0-rc1, < 3.4.1 3.4.1

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.