miniOrange 2FA – Two Factor Authentication for WordPress (OTP, SMS, Email, Google Authenticator) <= 6.7.1 - Unauthenticated IP Address Spoofing via X-Forwarded-For Header

Low 3.7 CWE-348Fixed in 6.7.2
ID
WPSEC-2026-4364
Plugin
2FA (Two-factor authentication) for WP – Google Authenticator & Passkey (miniorange-2-factor-authentication)
Affected
from 6.7.0 before 6.7.2
Remediation
Update to 6.7.2 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 Medium · Affected versions Low among sites WPSec scans, 2026-12-02
Attack surface
miniOrange 2FA – Two Factor Authentication for WordPress (OTP, SMS, Email, Google Authenticator) on WPSec AttackSurface
Fix released
Published

Description

The 2FA (Two-factor authentication) for WP plugin for WordPress is vulnerable to IP Address Spoofing via the X-Forwarded-For header in versions 6.7.0 to 6.7.1. This is due to the client IP resolver taking the left-most X-Forwarded-For entry whenever the connecting peer is a configured trusted reverse proxy, and that entry is controlled by the client. This makes it possible for unauthenticated attackers to make the plugin see an arbitrary IP address, so they can evade IP blocking, automatic brute-force lockouts and per-IP rate limits, or get another visitor's IP address blocked. Exploitation requires a trusted reverse proxy to be configured and the proxy to append to, rather than replace, the X-Forwarded-For header.

References

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

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

License: CC BY 4.0