CVE-2026-85590: phpMyFAQ before 4.1.8 Authentication Bypass via Two-Factor Disable

Published Sep 4, 2026
·
Updated

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 twofactorenabled 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.

Affected Software

1 affected component
PhpMyFaq phpmyfaq<4.1.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade phpMyFAQ to a version that resolves this vulnerability.

    Fixed in 4.1.8
  2. Compensating control

    Ensure the endpoints that downgrade/disable two-factor authentication are not accessible to an attacker who has only a hijacked user session; add stronger session-bound authorization so that PUT /api/user/data/update (twofactor_enabled form field) and POST /api/user/remove-twofactor cannot disable TOTP based solely on being logged-in plus a valid CSRF token.

Event History

Sep 4, 2026
CVE Published
via MITRE·11:29 AM
Data Sourced
via MITRE·11:29 AM
DescriptionWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs a hijacked authenticated user session and a valid CSRF token. No password re-entry or current TOTP code is required to disable two-factor authentication.

2

Are administrator accounts affected?

Yes. A hijacked session can be used to disable TOTP for any account, including administrator accounts, allowing subsequent password-only authentication.

3

Which endpoints should be reviewed for exposure or monitoring evidence?

Review requests to POST /api/user/remove-twofactor and PUT /api/user/data/update. The update endpoint can disable TOTP through a plain twofactor_enabled form field.

4

What is the immediate mitigation if updating is not possible?

The provided information does not identify a configuration-based workaround. Prioritize protection and invalidation of potentially hijacked sessions, because a valid session and CSRF token are sufficient to perform the downgrade.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203