All-In-One Security (AIOS) – Security and Firewall <= 5.4.10 - Authenticated (Subscriber+) Two-Factor Authentication Bypass via Forged TFA Code Verification Request

Medium 6.8 CWE-287Fixed in 5.5.0
ID
WPSEC-2026-1736
Plugin
All-In-One Security (AIOS) – Security and Firewall (all-in-one-wp-security-and-firewall)
Affected
all versions before 5.5.0
Remediation
Update to 5.5.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-287
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-27
Attack surface
All-In-One Security (AIOS) – Security and Firewall on WPSec AttackSurface
Fix released
Published

Description

The All-In-One Security (AIOS) – Security and Firewall plugin for WordPress is vulnerable to two-factor authentication bypass in all versions up to, and including, 5.4.10, due to the authorise_user_from_login() function trusting a 'creds_user_id' value taken straight from the login request ($_POST) and checking the submitted two-factor code against that user instead of the account being logged into. This makes it possible for authenticated attackers, with subscriber-level access and above, whose own account has two-factor authentication active, to have their own code accepted for another user's account. Exploitation also requires the attacker to know the password of the target account.

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