Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed phpMyFAQ admin URL
-
DeliveryEnumerate admin user-id (often 1)
-
ExploitScript POST /admin/check with sequential tokens
-
ExecutionServer validates TOTP without rate limit
-
PersistReceive authenticated admin session
-
ImpactAbuse admin panel for data theft or template-based code execution
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 that the phpMyFAQ instance be running a version prior to 4.1.2, that the /admin/check endpoint be reachable from the attacker's network (typical for internet-facing deployments), and that at least one administrative account have TOTP-based two-factor authentication enabled - without 2FA the endpoint is irrelevant because the bypass targets the second factor specifically. No prior session, password knowledge, CSRF token, or user interaction is required (CVSS PR:N/UI:N/AC:L), and the attacker must only know or guess a valid numeric user-id, which for the default admin is typically 1. The main limiting factor is that the password-only login path is unaffected, so deployments that have not enabled 2FA cannot be attacked via this specific flaw; additionally, network-layer restrictions on /admin/ (reverse proxy ACLs, VPN-gated admin) prevent reach. |
| Impact | Signals diverge: CVSS 4.0 is 9.3 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H) reflecting network-reachable, unauthenticated, low-complexity exploitation that fully compromises confidentiality and integrity, and SSVC adds Automatable:yes with Technical Impact:total - together pointing to a serious, scriptable bypass. EPSS at 0.12% (31st percentile) and absence from CISA KEV suggest no widespread in-the-wild exploitation has been observed yet, which is consistent with phpMyFAQ's narrower deployment footprint compared to mass-targeted platforms. The 'RCE' tag is somewhat misleading - the vulnerability yields full administrative access rather than direct code execution, though admin access in phpMyFAQ is a well-known pivot to code execution via theme/template features, so the tag is forward-looking rather than literal. Given automatable exploitation, a six-digit keyspace, and a vendor-confirmed PoC path, this should be prioritized despite the low EPSS. |
| Exploit ScenarioDerived | An attacker discovers a phpMyFAQ admin login page, enumerates a target user id (typically a small integer such as 1 for the initial admin), and scripts POST requests to /admin/check iterating token values 000000-999999 with the chosen user-id; within minutes the correct TOTP is accepted and the attacker is logged in as that administrator without ever knowing the password. From the admin panel they can modify FAQ content, exfiltrate user data, or abuse template/theme features to execute PHP - consistent with the 'RCE' tag and SSVC 'total' technical impact. The GHSA advisory documents the reachability test (HTTP 302 to /admin/token?user-id=<value>) that doubles as a proof-of-concept skeleton. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – May 28, 2026
Two-factor authentication bypass in phpMyFAQ before 4.1.2 lets unauthenticated remote attackers brute-force any administrator's six-digit TOTP code by submitting sequential POST requests to the /admin/check endpoint, which lacks session binding and rate limiting. CVSS 4.0 scores this 9.3 with no public exploit identified at time of analysis, though a proof-of-concept is described in the GHSA advisory and SSVC marks exploitation as 'poc' with total technical impact. EPSS is low at 0.12%, reflecting limited observed scanning despite the trivial 10^6 keyspace exhaustible in minutes.
Earlier versions of this analysis (2)
Two-factor authentication bypass in phpMyFAQ before 4.1.2 allows unauthenticated remote attackers to brute-force any administrator's six-digit TOTP code via the /admin/check endpoint, which accepts arbitrary user-id parameters with no session binding and no rate limiting. Successful exploitation yields full administrative access to the FAQ management system. No public exploit identified at time of analysis, but a proof-of-concept is referenced in the SSVC assessment and the 10^6 TOTP keyspace is exhaustible within minutes given the missing throttling.
phpMyFAQ versions before 4.1.2 allow unauthenticated attackers to bypass two-factor authentication through brute-force attacks against the /admin/check endpoint. The endpoint accepts arbitrary user-id parameters without session binding or rate limiting, enabling attackers to systematically try all 1 million possible six-digit TOTP codes. This grants full administrative access to any user account with 2FA enabled, effectively defeating the entire authentication system.
RemediationAI
Vendor-released patch: phpMyFAQ 4.1.2 - upgrade the Composer package thorsten/phpmyfaq (or phpmyfaq/phpmyfaq) to 4.1.2 or later per GHSA-9pq7-mfwh-xx2j (https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-9pq7-mfwh-xx2j). Until upgrading is possible, block external access to the /admin/ path tree at the reverse proxy or web server (this is acceptable for most deployments since administration is rarely public, but will break legitimate remote admin workflows and any embedded admin tooling), or insert a WAF/Nginx rate-limit rule that caps POST requests to /admin/check at single-digit attempts per minute per source IP and per user-id parameter (note that distributed sources can still defeat IP-only limits, so per-user-id limiting is preferable). As a defense-in-depth step, temporarily disable TOTP-based 2FA and require password resets, accepting that this removes the second factor entirely - only a stopgap until 4.1.2 is deployed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
phpMyFAQ is a PHP-based open-source FAQ management platform identified by CPE cpe:2.3:a:thorsten:phpmyfaq. The flaw is rooted in CWE-307 (Improper Restriction of Excessive Authentication Attempts) and stems from a Symfony controller design choice: AuthenticationController in phpmyfaq/src/phpMyFAQ/Controller/Administration/AuthenticationController.php implements the SkipsAuthenticationCheck marker interface, so the ControllerContainerListener bypasses session enforcement on every route in that controller. The /admin/check action reads the user-id field directly from the POST body, instantiates the target user via getUserById, and calls TwoFactor::validateToken without verifying that the caller completed the prior password phase or limiting attempt frequency, collapsing the second factor into a guessable secret.
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:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
phpMyFAQ before 4.1.2 contains an improper restriction of excessive authentication attempts vulnerability in the /admin/check endpoint, which accepts arbitrary user-id parameters without session binding or rate limiting. Unauthenticated attackers can brute-force any user's six-digit TOTP code by submitting POST requests with sequential token values, bypassing two-factor authentication to gain full administrative access.
Executive ViewAI
phpMyFAQ versions before 4.1.2 allow unauthenticated attackers to bypass two-factor authentication and compromise database administrator accounts. This vulnerability exposes organizations' database administration capabilities to unauthorized access without requiring valid credentials, creating risk of data exposure or manipulation.
Apply vendor patch.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-30595
GHSA-6626-79jh-5ccr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB