CVE-2022-4303

WP Limit Login Attempts <= 2.6.4 - IP Spoofing to Protection Mechanism Bypass

2022-12-27 00:00
Daniel Ruf

Strategic Overview

Status
Unpatched
Affected Version
<= 2.6.4
CVSS
6.5Medium
Weakness type
CWE-348 · Use of Less Trusted Source
CVE
CVE-2022-4303
View all WP Limit Login Attempts vulnerabilities

At a glance

CVE-2022-4303 is a medium-severity Use of Less Trusted Source vulnerability in the WP Limit Login Attempts WordPress plugin, affecting versions <= 2.6.4. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity). Exploitation requires no authentication. No fixed release has been reported yet; treat installations running this software as exposed. Disclosed December 2022, reported by Daniel Ruf.

Vulnerability Overview

The WP Limit Login Attempts plugin for WordPress is vulnerable to IP Address Spoofing in versions up to, and including, 2.6.4. This is due to the plugin prioritizing obtaining a visitor's IP address from a spoofable HTTP header over PHP's REMOTE_ADDR. Attackers can supply a header with with a different IP Address that can be used to bypass settings that may have blocked out an IP address.

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-348: Use of Less Trusted Source

The product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack.

Remediation

No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.

How does WordSec protect against this?

The attempt arrives as an ordinary request to WP Limit Login Attempts: WordSec's web application firewall inspects request payloads before WordPress loads them. No patched version is recorded yet, which is the case where a filtering layer matters most, because there is nothing to update to.

  • Firewall
  • Alerts

External References

Related records

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