The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 4.8.9 This is due to the site-wide signing secret `swpm_private_key_one` being generated at install time with PHP's non-cryptographic `uniqid('', true)` function in `SwpmInstallation::installer()`, whose timestamp-derived keyspace (~10^15 candidates / ~50 bits) can be constrained via the public WordPress REST API date of the plugin's auto-created registration page, combined with a single-MD5 oracle (`md5(key|level)`) that the public registration form prints as `swpm_level_hash` and a non-constant-time `!=` comparison in `SwpmFrontRegistration::register_front_end()` as the sole authorization gate on which membership level a visitor may register into; `SwpmUtils::get_free_level()` then honors an attacker-posted `level_identifier=md5(level)` regardless of the configured free-membership setting, and `prepare_and_create_wp_user_front_end()` creates the WordPress account with whatever role the level is configured to grant (only the `administrator` role is refused). This makes it possible for unauthenticated attackers, after an offline brute-force recovery of the install-time secret against the public MD5 oracle, to forge a valid `swpm_level_hash` for any configured membership level and self-register into that level, elevating their newly created WordPress account to the level's assigned role — e. Successful exploitation causes the attacker's own account to receive the complete editor role.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 26 Nov 2026 14:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 4.8.9 This is due to the site-wide signing secret `swpm_private_key_one` being generated at install time with PHP's non-cryptographic `uniqid('', true)` function in `SwpmInstallation::installer()`, whose timestamp-derived keyspace (~10^15 candidates / ~50 bits) can be constrained via the public WordPress REST API date of the plugin's auto-created registration page, combined with a single-MD5 oracle (`md5(key|level)`) that the public registration form prints as `swpm_level_hash` and a non-constant-time `!=` comparison in `SwpmFrontRegistration::register_front_end()` as the sole authorization gate on which membership level a visitor may register into; `SwpmUtils::get_free_level()` then honors an attacker-posted `level_identifier=md5(level)` regardless of the configured free-membership setting, and `prepare_and_create_wp_user_front_end()` creates the WordPress account with whatever role the level is configured to grant (only the `administrator` role is refused). This makes it possible for unauthenticated attackers, after an offline brute-force recovery of the install-time secret against the public MD5 oracle, to forge a valid `swpm_level_hash` for any configured membership level and self-register into that level, elevating their newly created WordPress account to the level's assigned role — e. Successful exploitation causes the attacker's own account to receive the complete editor role. | |
| Title | Simple Membership <= 4.8.9 - Unauthenticated Privilege Escalation to Editor via Forged 'swpm_level_hash' | |
| Weaknesses | CWE-269 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: Wordfence
Published:
Updated: 2026-11-26T14:36:07.569Z
Reserved: 2026-11-20T17:03:48.245Z
Link: CVE-2026-133951
No data.
Status : Deferred
Published: 2026-11-26T15:17:25.487
Modified: 2026-11-26T15:17:25.607
Link: CVE-2026-133951
No data.
OpenCVE Enrichment
No data.
Weaknesses