Google Authenticator <= 0.57 - Unauthenticated Two-Factor Authentication Bypass via Secret Fixation

Medium 6.8 CWE-287Fixed in 0.58
ID
WPSEC-2026-4118
Plugin
Google Authenticator (google-authenticator)
Affected
from 0.49 before 0.58
Remediation
Update to 0.58 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-287
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
Attack surface
Google Authenticator on WPSec AttackSurface
Fix released
Published

Description

The Google Authenticator plugin for WordPress is vulnerable to Two-Factor Authentication Bypass via secret fixation in all versions up to, and including, 0.57. This is due to the profile and two-factor setup pages pre-filling the 2FA secret from the user-supplied 'GA_secret' request parameter when the user has no secret stored yet. This makes it possible for unauthenticated attackers to get a user who has not yet set up two-factor authentication to enroll with a TOTP secret the attacker knows, by tricking them into opening a crafted link. The attacker can then generate valid verification codes for that account. Logging in as the user still requires the attacker to know the user's 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