Description
phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-beta lacks brute-force lockout in the removeTwofactorConfig() 2FA removal endpoint, allowing authenticated attackers to guess TOTP codes without limit. Attackers holding a hijacked session and CSRF token can repeatedly POST guesses to /api/user/remove-twofactor to permanently disable the victim's 2FA.
Published: 2026-10-17
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Two-Factor Authentication Brute-Force
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is present in phpMyFAQ versions prior to 4.2.0‑beta. The removeTwofactorConfig() endpoint has no brute‑force lockout, allowing an attacker with a hijacked session and CSRF token to send repeated TOTP guesses to /api/user/remove‑twofactor. Each successful guess permanently disables the victim’s two‑factor authentication, effectively bypassing the second factor and granting continued access. This insecurity is characterized as an authentication bypass, CWE‑307.

Affected Systems

The affected product is phpMyFAQ from vendor thorsten, specifically versions 4.2.0‑alpha 2 through 4.2.0‑beta. The vulnerability is triggered via the /api/user/remove‑twofactor endpoint and only applies to installations that expose this API to authenticated users.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity client‑side flaw. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, implying limited widespread exploitation. Nevertheless, an attacker must first acquire a hijacked session and a valid CSRF token; once those prerequisites are met, the attacker can iterate through TOTP codes without restriction, disabling the victim’s 2FA and enabling further unauthorized activity. The absence of a lockout or rate limiting makes exploitation trivial in a compromised session.

Generated by OpenCVE AI on October 17, 2026 at 20:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade phpMyFAQ to at least version 4.2.0‑beta 2, which adds a brute‑force lockout on the remove‑twofactor endpoint.
  • If an immediate upgrade is not feasible, restrict access to the /api/user/remove‑twofactor API to trusted IP ranges or require an additional authentication step that verifies possession of the TOTP code before allowing removal.
  • Apply application‑level rate limiting or throttling to the remove‑twofactor endpoint to reduce the feasibility of brute‑force attempts.

Generated by OpenCVE AI on October 17, 2026 at 20:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-beta lacks brute-force lockout in the removeTwofactorConfig() 2FA removal endpoint, allowing authenticated attackers to guess TOTP codes without limit. Attackers holding a hijacked session and CSRF token can repeatedly POST guesses to /api/user/remove-twofactor to permanently disable the victim's 2FA.
Title phpMyFAQ 4.2.0-alpha.2 before 4.2.0-beta 2FA Brute-Force via remove-twofactor Endpoint
First Time appeared Phpmyfaq
Phpmyfaq phpmyfaq
Weaknesses CWE-307
CPEs cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*
Vendors & Products Phpmyfaq
Phpmyfaq phpmyfaq
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Phpmyfaq Phpmyfaq
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-18T13:25:20.125Z

Reserved: 2026-10-17T12:15:56.790Z

Link: CVE-2026-111886

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-17T19:16:29.770

Modified: 2026-10-17T19:16:29.883

Link: CVE-2026-111886

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:00:14Z

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts