Skip to content
CVE-2026-133951

WordPress Simple Membership Plugin Privilege Escalation (CVE-2026-133951)

Privilege Escalation Initial Access Last updated:

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.

Vulnerability Intelligence

Theoretical

What is CVE-2026-133951 WordPress Simple Membership Plugin Privilege Escalation (CVE-2026-133951)?

WordPress Simple Membership Plugin Privilege Escalation (CVE-2026-133951) (CVE-2026-133951) maps to the Privilege Escalation and Initial Access tactics — the adversary is trying to gain higher-level permissions in MITRE ATT&CK.

This page provides production-ready detection logic for WordPress Simple Membership Plugin Privilege Escalation (CVE-2026-133951), covering the data sources and telemetry it touches: IIS Logs, Web Server Logs. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Privilege Escalation Initial Access
Microsoft Sentinel / Defender
kusto
// 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.

high severity medium confidence

Data Sources

IIS Logs Web Server Logs

Required Tables

W3CIISLog

False Positives

  • 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.

Query fingerprint DF00-05510c7ce8 · licence

Sigma logsource & community rules

The detection logic for WordPress Simple Membership Plugin Privilege Escalation (CVE-2026-133951) (CVE-2026-133951) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  product: windows

Browse the community-maintained Sigma rules for this technique:


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.

  1. Test 1 Baseline SWPM registration POST (free tier)

    Expected signal: Web access log entry: POST /register/ with membership_level=2 (default tier).

  2. 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.

  3. 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.


Response Playbook

Triage

  1. 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.
  2. 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.
  3. 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.
  4. Review whether the registration succeeded (HTTP 200/302 redirect to a member dashboard) versus was rejected.

Containment

  1. Immediately update the Simple Membership plugin to version 4.9.0 or later, which regenerates and hardens the site-wide signing secret.
  2. Suspend or delete any swpm member accounts created with unauthorized elevated membership levels and reset the site-wide SWPM signing/secret key.
  3. Block the offending source IP(s) at the WAF and enforce CAPTCHA on the registration endpoint.

Evidence Collection

  1. Preserve web server access logs (IIS/nginx/apache) capturing the POST requests to the SWPM registration endpoints, including full request bodies.
  2. Export the swpm_members and wp_users tables with timestamps to document created accounts and their assigned membership levels.
  3. 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.

Hunting — KQL
kql
// 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
Hunting — SPL
spl
``` 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

Test 1 Baseline SWPM registration POST (free tier)
linux

Submit a normal front-end registration to the Simple Membership plugin using the default free membership level to establish benign telemetry.

Command

bash
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

bash
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).

Test 2 Forged elevated membership_level registration
linux

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

bash
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

bash
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

Test 3 Direct POST to SWPM front-registration class endpoint
linux

Send a crafted POST directly referencing the swpm front registration handler with a manipulated membership_level parameter.

Command

bash
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

bash
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

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections