CVE-2026-85590

phpMyFAQ before 4.1.8 Authentication Bypass via Two-Factor Disable

State
Published
Severity
7.1 High
Published
Sep 4, 2026
Updated
Sep 4, 2026
Reserved
Sep 4, 2026

Read the record on cve.org

Description

phpMyFAQ before 4.1.8 contains an authentication bypass vulnerability in its two-factor authentication (TOTP) disable functionality. The removeTwofactorConfig() handler (reachable via POST /api/user/remove-twofactor) verifies only that the user is logged in and that a valid CSRF token is supplied, then disables TOTP without requiring password re-entry or a current TOTP code. The same downgrade is also reachable inline via PUT /api/user/data/update, which accepts a plain twofactor_enabled form field under the same session+CSRF-only guard. An attacker who has hijacked a user's session can silently strip two-factor protection from any account, including administrator accounts, after which password-only authentication succeeds.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-308 Use of Single-factor Authentication

Affected Products

ProductVersions
phpMyFAQthorsten
  • before 4.1.8Affected
  • 4.1.8Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.