PT-2026-79745 · WordPress · Security Hardener
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Security Hardener versions prior to 2.4.5
Description
The Security Hardener plugin for WordPress contains a missing authorization flaw. The issue occurs because the user-enumeration protection, enabled by default, uses the
secure user endpoints() function to hook the rest endpoints filter. This process overwrites the permission callback for all handlers on the '/wp/v2/users' and '/wp/v2/users/{id}' endpoints—including POST, PUT, PATCH, and DELETE methods—with a closure that only checks if a user is logged in via is user logged in(). Consequently, original WordPress Core capability checks such as create users, promote user, edit users, and delete users are removed. This allows authenticated users with Subscriber-level access or higher to create new Administrator accounts via POST requests to '/wp/v2/users' or reset Administrator passwords via PUT/POST requests to '/wp/v2/users/{id}'.Recommendations
Update the Security Hardener plugin to a version newer than 2.4.4.
As a temporary mitigation, disable the
block user enum option to prevent the overwrite of the permission callbacks.Fix
LPE
Improper Privilege Management
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Security Hardener