Defender Security <= 6.4.1 - Authenticated (Subscriber+) Two-Factor Authentication Bypass via Fallback Email Provider

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

Description

The Defender Security plugin for WordPress is vulnerable to Two-Factor Authentication Bypass via the Fallback Email two-factor provider in versions 2.8.0 up to, and including, 6.4.1. This is due to the public fallback e-mail passcode send route (send_otp_to_email()) and the provider's passcode validation (Fallback_Email::validate_authentication()) not checking whether the Fallback Email provider is enabled for the user, while the 2FA verification step accepts any provider slug submitted in 'auth_method'. This makes it possible for attackers who know a user's password and can read that user's mailbox (the fallback address, or the account e-mail when none is set) to request and use an e-mailed passcode to complete the second factor, even when the user has enabled only another method such as TOTP. This downgrades the user's chosen second factor to e-mail.

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