The WP Limit Login Attempts WordPress plugin through 2.6.4 prioritizes getting a visitor's IP from certain HTTP headers over PHP's REMOTE_ADDR, which makes it possible to bypass IP-based restrictions on login forms.
https://wpscan.com/vulnerability/8428a5e1-dbef-4516-983f-f95605c6dd09