CVE-2025-69197: Php Totp Verifykey Replay Vulnerability

The application validates TOTP tokens using `verifyKey()`, which does not prevent tokens from being reused within their validity window. This allows for capture-replay attacks where an intercepted token is reused to bypass authentication. To prevent this, use `verifyKeyNewer()` and persist the timestamp of the last successful authentication to ensure one-tim

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHPβ
greprules fetch cve-2025-69197-php-totp-verifykey-replay-vulnerability --engine opengrep

Description

The application validates TOTP tokens using `verifyKey()`, which does not prevent tokens from being reused within their validity window. This allows for capture-replay attacks where an intercepted token is reused to bypass authentication. To prevent this, use `verifyKeyNewer()` and persist the timestamp of the last successful authentication to ensure one-tim