Google Authenticator <= 0.56 - Unauthenticated Authentication Bypass via Empty XML-RPC App Password

High 8.1 CWE-287Fixed in 0.57
ID
WPSEC-2026-3817
Plugin
Google Authenticator (google-authenticator)
Affected
from 0.35 before 0.57
Remediation
Update to 0.57 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-11-24
Attack surface
Google Authenticator on WPSec AttackSurface
Fix released
Published

Description

The Google Authenticator plugin for WordPress is vulnerable to Authentication Bypass via the XML-RPC app password check in all versions up to, and including, 0.56. This is because saving the profile before an app password was generated hashed and stored an empty app password, and the check_otp() authenticate filter accepted any submitted password matching the stored hash (wp_hash_password or the legacy unsalted sha1 format) without rejecting empty values. This makes it possible for unauthenticated attackers who know a targeted user's username to log in over XML-RPC with an empty password, bypassing both the account password and two-factor authentication. The targeted user, who may be an administrator, must have two-factor authentication and the app password option enabled without ever having generated an app password.

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