VYPR
Unrated severityNVD Advisory· Published Dec 12, 2022· Updated Apr 14, 2025

All In One WP Security & Firewall < 5.0.8 - IP Spoofing

CVE-2022-4097

Description

The All-In-One Security (AIOS) WordPress plugin before 5.0.8 is susceptible to IP Spoofing attacks, which can lead to bypassed security features (like IP blocks, rate limiting, brute force protection, and more).

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

The All-In-One Security (AIOS) plugin before 5.0.8 allows IP spoofing, enabling attackers to bypass IP-based security features such as blocks, rate limiting, and brute force protection.

Vulnerability

The All-In-One Security (AIOS) WordPress plugin before version 5.0.8 is susceptible to IP Spoofing attacks. The plugin trusts client-supplied IP addresses from headers (e.g., X-Forwarded-For) without proper validation, allowing an attacker to forge their apparent IP address. This weakness resides in the plugin's IP detection mechanism used across various security modules. Versions prior to 5.0.8 are affected [1].

Exploitation

An attacker can exploit this vulnerability by crafting HTTP requests that include a spoofed IP address in the X-Forwarded-For or similar headers. The attacker does not need authentication or any special network position; the attack is performed remotely. By sending repeated requests with different spoofed IPs, the attacker can evade IP-based restrictions such as login attempt limits, IP blacklists, or rate limiting [1].

Impact

Successful exploitation allows the attacker to bypass security features that rely on the source IP address. This can enable brute force attacks on login pages without being blocked, bypass IP allowlists or blocklists, and circumvent rate limiting. The attacker gains the ability to perform actions that the plugin's IP-based controls would normally prevent, leading to potential unauthorized access and information disclosure [1].

Mitigation

The vulnerability is fixed in version 5.0.8 of the All-In-One Security (AIOS) plugin. Users should update to this version or later. No other workarounds are documented in the available references [1].

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

Root cause

"The plugin trusts the HTTP headers used for IP address detection without validating their authenticity, allowing an attacker to spoof their IP address."

Attack vector

An attacker sends HTTP requests to the WordPress site with a forged IP address in headers such as X-Forwarded-For or X-Real-IP [ref_id=1]. The AIOS plugin trusts these headers to determine the client's IP address without verifying their authenticity. This allows the attacker to impersonate any IP address, including whitelisted or trusted addresses. As a result, security features like IP blocks, rate limiting, and brute force protection can be bypassed [ref_id=1]. The attack requires no authentication and can be performed over the network with a simple crafted HTTP request.

Affected code

The advisory does not specify the exact files or functions at fault. The vulnerability exists in the IP address detection logic of the All-In-One WP Security & Firewall plugin before version 5.0.8 [ref_id=1].

What the fix does

The advisory states the vulnerability is fixed in version 5.0.8 of the All-In-One Security (AIOS) plugin [ref_id=1]. No patch diff is provided in the bundle, but the fix likely involves validating or restricting which HTTP headers are trusted for IP detection, or implementing a fallback to the actual remote address (REMOTE_ADDR) when spoofed headers are detected. Users should update to version 5.0.8 or later to remediate the issue.

Preconditions

  • networkAttacker must be able to send HTTP requests to the WordPress site.
  • inputAttacker must include a forged IP header (e.g., X-Forwarded-For) in the request.

Reproduction

The advisory does not include reproduction steps beyond stating the plugin is susceptible to IP Spoofing [ref_id=1]. No public PoC with step-by-step instructions is provided in the bundle.

Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

1

News mentions

0

No linked articles in our index yet.