Skip to content
Access control Write-up Beginner

From Regular Account to Admin: Reproducing CVE-2025–24000 in Wo

The Post SMTP WordPress plugin exposed REST API endpoints for email logs that only checked if a user was logged in, not their capabilities. A low-privileged user could read the logs, find an admin password reset email, and use the reset link to take over the admin account.

Sector Cyber Security Follow

Published on medium.com

In this article, we walkthrough the reproduction of CVE-2025–24000, a high-severity privilege escalation vulnerability found in the popular WordPress plugin Post SMTP (≤ v3.2.0). This flaw allowed low-privileged users (like Subscribers) to access sensitive email logs and extract admin password reset links via exposed…

Sector Cyber Security, on 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

Impact

A low-privileged user could read sensitive email logs and extract an admin password reset link, leading to full admin account takeover.

What the attacker needed

A low-privileged account (e.g., Subscriber); the admin's email address known; plugin version ≤ 3.2.0

The fix

The permission check was updated to also require the manage_options capability, restricting log access to administrators; the text states this was fixed in version 3.3.0.

How it was found

  1. Trigger a password reset for the admin account.
  2. Log in as a low-privileged user such as a Subscriber.
  3. Capture the logged-in cookie and the WordPress nonce.
  4. Request the email logs endpoint to list messages.
  5. Find the ID of the password reset email and request its full content.
  6. Extract the reset link and use it to set a new admin password.

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.

In WordPress, plugins can add web addresses (REST API endpoints) that return data. This plugin's log-reading endpoint only checked that you had an account, not that you were an administrator. So any logged-in user, even a subscriber, could read emails sent by the site, including a password reset link meant for the admin, and then use that link to change the admin's password.

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 Sector Cyber Security

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.