CVE-2026-135627
Simple Membership に報告された脆弱性
概要
The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.9.0 The vulnerability exists because the `bulk_operation_menu()` function accepts the `swpm_bulk_change_level_to` parameter from `$_REQUEST` with only `sanitize_text_field()` applied, and passes it to `SwpmMemberUtils::update_membership_level_and_role()` without the `id != 1` allowlist exclusion that every other level-selection path in the plugin enforces — leaving membership level 1, which the installer maps to the WordPress `administrator` role on every fresh install, freely selectable as a bulk-change target. This makes it possible for authenticated attackers with Contributor-level access and above to elevate their own WordPress account to the full Administrator role, gaining complete site control including plugin installation, user creation, and all other administrator capabilities. Exploitation requires that an administrator has first lowered the plugin's "Admin Dashboard Access Permission" setting from its default of `manage_options` to a lesser capability such as `edit_posts` (Contributor), `edit_published_posts` (Author), or `edit_pages` (Editor), which is a non-default granted-access configuration; the bulk screen's nonce protection (`swpm_bulk_change_level_nonce_action`) does not mitigate the issue because the nonce is emitted on the same page the delegated lower-role user can already reach. Successful exploitation causes the attacker's own account to receive the complete administrator role.
影響を受けるバージョン
- 0以上 〜 4.9.0以下
対処方法
Simple Membership を 4.9.1 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://downloads.wordpress.org/plugin/simple-membership.4.9.1.zip
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-members.php#L564
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-members.php#L575
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-self-action-handler.php#L133
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-utils-member.php#L264
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.9.0/classes/class.swpm-utils-member.php#L641
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8010de75-785c-4a51-b521-330576081b42?source=cve