Silverstripe Framework: Members with no password can be created and bypass custom login forms
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. Starting with this release, 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.
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).
Users would need to opt-in to insecure behavior by using a configuration which allowed for empty passwords. These configurations are not expected and hence this advisory is primarily informational in nature.
Reported by: Sabina Talipova from Silverstripe and Christian Bünte
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | silverstripe/framework | >= 3.0.0, < 4.13.14, >= 5.0.0, < 5.0.13 | 4.13.14, 5.0.13 |
References
- https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-36xx-7vf6-7mv3
- https://nvd.nist.gov/vuln/detail/CVE-2023-32302
- https://github.com/github/advisory-database/pull/2575
- https://github.com/silverstripe/silverstripe-framework/commit/7b21b38ac4532d06565dfcefad50540ebd2b50f4
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2023-32302.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://github.com/silverstripe/silverstripe-framework/releases/tag/4.13.14
- https://github.com/silverstripe/silverstripe-framework/releases/tag/5.0.13
- https://www.silverstripe.org/download/security-releases/CVE-2023-32302
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:N- Weakness (CWE)
CWE-20, CWE-862- Platform
- Composer
- Package
silverstripe/framework- Disclosed
- 31.07.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-36xx-7vf6-7mv3 - CC BY 4.0
Vulnerability history: silverstripe/framework
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 93
- First → latest
- 11.2019 08.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 13
- Medium 69
- Low 8
Disclosures per year
- 2019: 5
- 2020: 2
- 2021: 0
- 2022: 23
- 2023: 3
- 2024: 53
- 2025: 6
- 2026: 1
-
Silverstripe Framework: Members with no password can be created and bypass custom login forms this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.