Detect WordPress Simple Membership Plugin Privilege Escalation (CVE-2026-133951) in Microsoft Sentinel
Detects exploitation attempts against the Simple Membership (swpm) WordPress plugin, versions up to and including 4.8.9, which is vulnerable to privilege escalation (CWE-269). The plugin generates its site-wide signing secret with PHP's non-cryptographic uniqid() function at install time. An attacker can narrow the keyspace using the public registration page's creation date, then brute-force the secret offline against a public MD5 oracle that the registration form exposes as swpm_level_hash. With the secret recovered, an unauthenticated attacker can forge a valid swpm_level_hash for any configured membership level and self-register into that level, which creates a WordPress account with the role assigned to that level. The administrator role is specifically excluded by the plugin and cannot be obtained this way. Detection focuses on POST requests to the SWPM registration endpoints (class.swpm-front-registration.php, views/add.php) carrying level_identifier or membership_level parameters inconsistent with the site's default free tier, followed by anomalous elevation of account privileges.
MITRE ATT&CK
KQL Detection Query
// df00tech DF00-05510c7ce8 · https://df00tech.com/detections/CVE-2026-133951 · licence: https://df00tech.com/detections/licence
let swpm_endpoints = dynamic(["swpm_registration_submit", "class.swpm-front-registration.php", "/register", "swpm-login"]);
W3CIISLog
| where csMethod == "POST"
| where csUriStem has_any (swpm_endpoints) or csUriQuery has "swpm"
| where csUriQuery has "membership_level" or csUriQuery has "swpm_membership_level"
| extend SuspiciousLevel = csUriQuery has_any ("membership_level=1", "membership_level=admin", "swpm_membership_level=1")
| where SuspiciousLevel or csUriQuery has "membership_level"
| summarize Attempts = count(), Queries = make_set(csUriQuery, 20) by cIP, csUserAgent, bin(TimeGenerated, 10m)
| where Attempts >= 1
| project TimeGenerated, cIP, csUserAgent, Attempts, Queries Identifies POST requests to WordPress Simple Membership registration endpoints that include membership_level parameters indicative of a forged/elevated membership assignment.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate new member registrations that naturally include a membership_level field for the default free tier.
- Security scanners or QA automation exercising the registration flow in a staging environment.
- Membership site admins testing registration with elevated levels during configuration.
Other platforms for CVE-2026-133951
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Baseline SWPM registration POST (free tier)
Expected signal: Web access log entry: POST /register/ with membership_level=2 (default tier).
- Test 2 Forged elevated membership_level registration
Expected signal: Web access log entry: POST /register/ with membership_level=1 (non-default tier) from an unauthenticated client.
- Test 3 Direct POST to SWPM front-registration class endpoint
Expected signal: Web access log entry: POST to class.swpm-front-registration.php with membership_level=1.
References (5)
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7cc9a47b-904f-421d-9ff1-ea1115146239?source=cve
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.8.9/classes/class.swpm-front-registration.php#L187
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.8.9/classes/class.swpm-front-registration.php#L445
- https://plugins.trac.wordpress.org/browser/simple-membership/tags/4.8.9/classes/class.swpm-installation.php#L383
- https://downloads.wordpress.org/plugin/simple-membership.4.9.0.zip
Response Playbook
Triage
- Confirm the Simple Membership (swpm) plugin version on the target WordPress site; versions up to and including 4.8.9 are vulnerable. Check wp-content/plugins/simple-membership/simple-wp-membership.php header.
- Inspect the flagged POST request body/query for a membership level value that does not correspond to a publicly selectable free tier (e.g., a paid level assigned without payment). Note that the plugin specifically refuses to grant the administrator role through this flow.
- Correlate the source IP and user-agent against the swpm_members database table to determine whether a new account was created with an elevated membership level.
- Review whether the registration succeeded (HTTP 200/302 redirect to a member dashboard) versus was rejected.
Containment
- Immediately update the Simple Membership plugin to version 4.9.0 or later, which regenerates and hardens the site-wide signing secret.
- Suspend or delete any swpm member accounts created with unauthorized elevated membership levels and reset the site-wide SWPM signing/secret key.
- Block the offending source IP(s) at the WAF and enforce CAPTCHA on the registration endpoint.
Evidence Collection
- Preserve web server access logs (IIS/nginx/apache) capturing the POST requests to the SWPM registration endpoints, including full request bodies.
- Export the swpm_members and wp_users tables with timestamps to document created accounts and their assigned membership levels.
- Capture the plugin version and the current value/age of the SWPM site-wide signing secret from wp_options.
Escalation Criteria
- !Escalate to incident response if a member account was successfully created or modified with a higher-privileged membership level than it should have.
- !Escalate if forged registrations are observed from multiple IPs or correlate with subsequent wp-admin access or content/plugin modifications.
Investigation Guide
Forensic Artifacts
- >
Web server access logs showing POST to class.swpm-front-registration.php / views/add.php with membership_level or level_identifier parameters. - >
swpm_members database rows with unexpected membership_level values and recent creation timestamps. - >
wp_options entry holding the SWPM site-wide signing secret and its modification history.
Tuning Guidance
Baseline the legitimate default membership_level ID(s) for your site and exclude them, alerting only when the submitted level differs from publicly selectable tiers. Whitelist known monitoring/QA source IPs. If the registration endpoint path has been customized, update the URL patterns accordingly.
Hunting Queries
Surface all registration POSTs carrying membership_level across the environment to baseline normal versus anomalous level assignments.
// df00tech DF00-05510c7ce8 · https://df00tech.com/detections/CVE-2026-133951 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csMethod == "POST" and csUriQuery has "membership_level" | summarize count() by cIP, csUriQuery, bin(TimeGenerated, 1h) | order by count_ desc ``` df00tech DF00-05510c7ce8 · https://df00tech.com/detections/CVE-2026-133951 · licence: https://df00tech.com/detections/licence ```
index=web method=POST form_data="*membership_level*" | stats count values(form_data) by clientip | sort -count Atomic Red Team Tests
Submit a normal front-end registration to the Simple Membership plugin using the default free membership level to establish benign telemetry.
Command
curl -s -X POST 'http://wp-lab.local/register/' --data 'swpm_registration_submit=1&user_name=benign1&[email protected]&password=Passw0rd!&membership_level=2' Cleanup
wp user delete benign1 --yes --path=/var/www/html || mysql -e "DELETE FROM wp_swpm_members_tbl WHERE user_name='benign1';" Expected Telemetry
Web access log entry: POST /register/ with membership_level=2 (default tier).
Simulate the privilege escalation by submitting a registration POST with a membership_level pointing to a non-default tier that should require payment or authorization. Note this cannot be used to obtain the administrator role, which the plugin explicitly refuses.
Command
curl -s -X POST 'http://wp-lab.local/register/' --data 'swpm_registration_submit=1&user_name=attacker1&[email protected]&password=Passw0rd!&membership_level=1' Cleanup
wp user delete attacker1 --yes --path=/var/www/html || mysql -e "DELETE FROM wp_swpm_members_tbl WHERE user_name='attacker1';" Expected Telemetry
Web access log entry: POST /register/ with membership_level=1 (non-default tier) from an unauthenticated client.
Expected Detection
true
Send a crafted POST directly referencing the swpm front registration handler with a manipulated membership_level parameter.
Command
curl -s -X POST 'http://wp-lab.local/wp-content/plugins/simple-membership/classes/class.swpm-front-registration.php' --data 'swpm_registration_submit=1&membership_level=1&user_name=escalate1&[email protected]&password=Passw0rd!' Cleanup
mysql -e "DELETE FROM wp_swpm_members_tbl WHERE user_name='escalate1';" Expected Telemetry
Web access log entry: POST to class.swpm-front-registration.php with membership_level=1.
Expected Detection
true