Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid account password
-
DeliveryReach TOTP 2FA prompt
-
ExploitExhaust five code guesses
-
InstallFetch fresh session cookie and re-authenticate
-
C2Loop to reset counter
-
ExecuteGuess correct TOTP
-
ImpactFull account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
|
| Exploitation Conditions | Exploitation requires the attacker to already know a valid first-factor password for a phpMyFAQ account that has TOTP two-factor authentication enabled, and the target must be running a version before 4.1.7. The specific enabling condition is the session-scoped failure counter on the 2FA step that resets on each successful password re-authentication, allowing the five-attempt limit to be bypassed by obtaining a fresh session cookie and re-authenticating. Limiting factors: the attack is probabilistic (AC:H/AT:P - many requests needed to guess the 6-digit TOTP within its time window), it is useless without valid credentials, and it only applies to accounts protected by phpMyFAQ's TOTP 2FA; accounts without 2FA are unaffected by this specific flaw. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N, base 9.1) captures high confidentiality and integrity impact reachable over the network, while AC:H and AT:P correctly reflect that success is probabilistic and requires repeated attempts rather than a single deterministic request. The most important caveat is that the vector encodes PR:N (unauthenticated), yet the description explicitly states the attacker must already possess a valid password - so this is realistically a privileged/credentialed attack against the SECOND factor, not a fully anonymous one; treat PR:N as understating the precondition. There is no EPSS score, no KEV listing, and no known public POC, so no public exploit identified at time of analysis and no evidence of active exploitation. Net: a genuinely serious weakness that undermines 2FA-as-compensating-control, but its real-world priority is gated by the attacker first obtaining valid credentials (via phishing, reuse, or prior breach), making it a strong escalation/second-stage risk rather than a mass-exploitable internet-wide threat. |
| Exploit ScenarioDerived | An attacker who has phished or reused a valid phpMyFAQ user's password reaches the TOTP prompt, submits five wrong codes, then discards the session, requests a fresh session cookie, re-submits the same valid password, and receives five more guesses. Scripting this loop over the network lets the attacker cycle through TOTP values until one is accepted, completing login and taking over the account. No public POC is known, but the technique is straightforward to automate given the described behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Two-factor authentication bypass in phpMyFAQ before 4.1.7 lets an attacker who already knows a valid password defeat the TOTP second factor through unbounded brute force. Because the five-attempt failure counter is stored per session and reset on every successful password re-authentication (CWE-307), an attacker can loop - grab a fresh session cookie, re-enter the known password, and get five more guesses - until the 6-digit TOTP is guessed, yielding full account takeover. Reported by VulnCheck with no public exploit identified at time of analysis and not listed in CISA KEV.
RemediationAI
Upgrade to phpMyFAQ 4.1.7 or later, which is the vendor-released patch that fixes the session-scoped throttle; see the GitHub Security Advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-f98m-hcjv-7rp9. If immediate patching is not possible, apply compensating controls: place the admin/login endpoints behind a WAF or reverse-proxy rate limit keyed on source IP and username (not session cookie) to cap re-authentication attempts, which may inconvenience users behind shared NAT; enforce account lockout or alerting on repeated failed 2FA attempts at the infrastructure layer; and prioritize password hygiene (rotate credentials, block reuse) since the attack presupposes a known password. Restricting network reachability of the login interface to a VPN or trusted IP ranges also blunts remote brute forcing at the cost of remote-access convenience.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
phpMyFAQ is an open-source PHP FAQ/knowledge-base application (vendor 'thorsten', CPE cpe:2.3:a:thorsten:phpmyfaq:*). The flaw is a rate-limiting design error rooted in CWE-307 (Improper Restriction of Excessive Authentication Attempts): the anti-brute-force throttle on the TOTP step keys its failure counter to the current session rather than to the user account or a durable server-side record. TOTP codes are 6 digits (roughly one million values, narrowed by the ~30-second time window and any accepted skew), so an effective attempt limit is the only thing standing between a password-holder and the second factor. Because re-authenticating with the (already-known) password mints a new session and zeroes the counter, the intended five-attempt ceiling never accumulates, converting a bounded guess into an effectively unbounded one.
Know when Phpmyfaq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Attacker must possess a valid password (PR:L, not PR:N) and win a probabilistic multi-request TOTP brute force (AC:H); success yields full account takeover so C:H/I:H, with no availability impact (A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
phpMyFAQ before 4.1.7 contains a brute-force vulnerability in the two-factor authentication step where the failure counter is session-scoped and reset on each successful password re-authentication. Attackers with a valid password can bypass the five-attempt limit by obtaining a fresh session cookie and repeatedly re-authenticating to reset the counter, enabling unbounded TOTP code guessing.
Executive ViewAI
phpMyFAQ versions before 4.1.7 contain a critical vulnerability allowing attackers who possess a valid password to bypass two-factor authentication and gain full administrative access through a session-reset brute force loop. Any organization operating phpMyFAQ is exposed to account takeover of administrative and user accounts, risking unauthorized database access and potential customer data compromise. Leadership should initiate immediate mitigation and expedite upgrade planning to contain account takeover risk.
Implement per-user TOTP attempt limits with mandatory account lockout after 3 failed entries (15-minute cooldown minimum); enforce IP-based access controls restricting all phpMyFAQ administrative functions to approved networks; configure comprehensive authentication event logging with automated alerting triggered on session-cycling patterns or rapid password re-authentication attempts from single sources.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-62454
GHSA-xgjh-9vcx-v63q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB