CVE-2024-6641

WP Hardening – Fix Your WordPress Security <= 1.2.6 - Unauthenticated Security Feature Bypass to Username Enumeration

2024-09-17 00:00
Felipe Caon

Strategic Overview

Status
Patched in 1.2.7
Affected Version
<= 1.2.6
CVSS
5.3Medium
Weakness type
CWE-185 · Incorrect Regular Expression
CVE
CVE-2024-6641
View all WP Hardening (discontinued) vulnerabilities

At a glance

CVE-2024-6641 is a medium-severity Incorrect Regular Expression vulnerability in the WP Hardening (discontinued) WordPress plugin, affecting versions <= 1.2.6. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 1.2.7; sites on affected versions should update now. Disclosed September 2024, reported by Felipe Caon.

Vulnerability Overview

The WP Hardening – Fix Your WordPress Security plugin for WordPress is vulnerable to Security Feature Bypass in all versions up to, and including, 1.2.6. This is due to use of an incorrect regular expression within the "Stop User Enumeration" feature. This makes it possible for unauthenticated attackers to bypass intended security restrictions and expose site usernames.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.

CWE-185: Incorrect Regular Expression

The product specifies a regular expression in a way that causes data to be improperly matched or compared.

Remediation

Update to version 1.2.7, or a newer patched version

How does WordSec protect against this?

This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: WP Hardening (discontinued) 1.2.7 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C