Security & Malware scan by CleanTalk <= 2.190 - Unauthenticated Authentication Bypass via Two-Factor Authentication Code Brute Force

High 8.1 CWE-287Fixed in 2.191
ID
WPSEC-2026-1816
Plugin
Security Plugin, Firewall & Malware Scanner with Auto Removal (security-malware-firewall)
Affected
all versions before 2.191
Remediation
Update to 2.191 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-287
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-28
Attack surface
Security & Malware scan by CleanTalk on WPSec AttackSurface
Fix released
Published

Description

The Security Plugin, Firewall & Malware Scanner with Auto Removal plugin for WordPress is vulnerable to Authentication Bypass via the two-factor authentication code check on the login form in all versions up to, and including, 2.190, due to the spbc_2fa__authenticate() function logging in any user named in the 'log' parameter when the submitted 'spbc_2fa' code matches, without checking that the password step was completed for that request. Per-user attempts were not limited (only a per-IP rate limit applied), codes were compared loosely with no replay protection, and secrets and e-mail codes were generated with rand(). This makes it possible for unauthenticated attackers who know the username of an account that uses an authenticator app for two-factor authentication to brute-force or replay the 6-digit code and log in as that user without the password, when the plugin's 2FA feature is enabled.

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