Skip to content
Access control Write-up Intermediate

How I Discovered a Critical WordPress Auth Bypass: Methodology +

An API endpoint in a WordPress plugin leaked metadata and allowed user creation without valid authentication. An attacker could craft a request with a default or missing secret key to obtain a valid login cookie, even for an administrator.

Zubair Usman Follow

Published on thezubairusman.medium.com

In May 2025, a critical WordPress plugin vulnerability (CVE‑2025‑3102) in SureTriggers allowed unauthenticated attackers to gain administrator privileges, impacting over 100,000 websites ProSec GmbH. Inspired by that, here’s how I uncovered a similar critical auth bypass vulnerability step‑by‑step using proven recon…

Zubair Usman, on thezubairusman.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the plugin's authentication endpoint did not properly validate the secret key, allowing requests with a default or missing key to be treated as authenticated.

Impact

An unauthenticated attacker could gain administrator privileges on the WordPress site.

What the attacker needed

Target runs vulnerable plugin version; attacker can reach the API endpoint

The fix

The vendor issued a hotfix within two weeks that removed the insecure endpoint and enforced validation.

How it was found

  1. Enumerate WordPress instances and plugin versions using tools like wpscan, waybackurls, and httpx.
  2. Manually review plugin source and JavaScript for exposed endpoints and parameters.
  3. Use the PHUZZ framework to fuzz authentication endpoints and generate payloads.
  4. During fuzzing on a staging instance, discover the API endpoint that leaked metadata and allowed user creation without valid authentication.
  5. Craft a POST request with a default or missing secret_key to obtain a valid wp_logged_in cookie for admin user_id=1.
  6. Verify access by loading /wp-admin/ with elevated privileges.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A WordPress plugin had a web address that was supposed to be protected but was not. By sending a special request to that address, someone could create a user account and get logged in as an administrator without knowing any password. This is called an authentication bypass because the normal login check was skipped.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Zubair Usman

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.