Defender Security <= 6.4.0 - Unauthenticated IP Address Spoofing via Smart IP Detection

Low 3.7 CWE-348Fixed in 6.4.1
ID
WPSEC-2026-2784
Plugin
Defender Security – Malware Scanner, Login Security & Firewall (defender-security)
Affected
from 4.9.0 before 6.4.1
Remediation
Update to 6.4.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-348
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-10
Attack surface
Defender Security on WPSec AttackSurface
Fix released
Published

Description

The Defender Security plugin for WordPress is vulnerable to IP Address Spoofing via Smart IP Detection in versions 4.9.0 up to, and including, 6.4.0, due to the plugin reading the client IP from the saved detection header, X-Forwarded-For and X-Real-IP without verifying that the request came through a trusted proxy, and using the first public IP address found in them. This makes it possible for unauthenticated attackers to spoof their IP address on sites using automatic IP detection where those headers are not overwritten by a proxy (for example a Cloudflare-fronted site whose origin can be reached directly). They can then evade Login Lockout and IP bans, or match allowlisted IP addresses.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0