Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

CVE-2023-32302 Members with no password can be created and bypass custom login forms

None (?)
Versions Affected:
silverstripe/framework: ^3, ^4, ^5
Versions Fixed:
silverstripe/framework: 4.13.14, 5.0.13
Release Date:

When a new Member record was created in the cms it was possible to set a blank password. If an attacker knows the email address of the user with the blank password then they can attempt to log in using an empty password. The default member authenticator, login form and basic auth all require a non-empty password, however if a custom authentication method is used it may allow a successful login with the empty password.

After being patched, blank passwords are no no longer allowed when members are created in the CMS. Programatically created Member records, such as those used in unit tests, still allow blank passwords.

You may have some Member records in your system already which have empty passwords. To detect these, you can loop over all Member records with Member::get() and pass each record into the below method. It might be sensible to create a BuildTask for this purpose.

use SilverStripe\Security\Member;
use SilverStripe\Security\MemberAuthenticator\MemberAuthenticator;

private function memberHasBlankPassword(Member $member): bool
    // skip default admin as this is created programatically
    if ($member->isDefaultAdmin()) {
        return false;
    // return true if a blank password is valid for this member
    $authenticator = new MemberAuthenticator();
    return $authenticator->checkPassword($member, '')->isValid();

Once you have identified the records with empty passwords, it's up to you how to handle this. The most sensible way to resolve this is probably to generate a new secure password for each of these members, mark it as immediately expired, and email each affected member (assuming they have a valid email address in the system).

Base CVSS: 0.0
Reported bySabina Talipova from Silverstripe and Christian Bünte

Addendum - November 2, 2023

CVE-2023-32302 has been invalidated. Following discussions with the National Institute of Standards and Technology (NIST), it was determined that entries in the National Vulnerability Database can not have a CVSS of 0.

While CVE-2023-32302 is no longer a valid vulnerability identifier, the rest of the information on this page remains relevant.