Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain read access to victim's mailbox
-
DeliverySubmit public password-reset for IdP-provisioned account
-
ExploitReset flow writes attacker-chosen local password
-
ExecutionAuthenticate locally with that password
-
ImpactAccount takeover bypassing IdP MFA and deprovisioning
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Password recovery security
|
| Exploitation Conditions | Exploitation requires that the target phpMyFAQ account was provisioned by an external identity source - specifically OIDC, Keycloak, Entra ID (Azure), LDAP, SSO, or WebAuthn - so that createUser() left a random local bcrypt hash while auth_source was set to the external provider; local/database accounts are not the target of this bypass. The attacker must be able to read email delivered to the victim's on-file address, because the exploit depends on retrieving the signed reset link (/user/reset-password?u=&exp=&sig=) sent by the public reset flow (PUT /api/user/password/update → POST /api/user/password/reset). The requester also needs the victim's username and matching on-file email to pass the hash_equals check. No phpMyFAQ authentication is required (PR:N). Limiting factors that reduce realistic risk: the mailbox-access requirement and the external-provisioning precondition (reflected as AC:H/AT:P) mean this is not a drive-by remote exploit; additionally, if the victim enabled phpMyFAQ-local TOTP it is still enforced on the subsequent local login, which blocks the final step. Only updating to a fixed version (4.1.12 or 4.2.0-RC.2) fully closes the flaw, as the guard that was supposed to refuse external accounts never fired. |
| Impact | This is a genuine authentication-bypass/account-takeover flaw (CWE-640) rather than a high-CVSS-but-low-real-risk issue, but its exploitability is gated by meaningful prerequisites, which the vendor-assigned CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N, VC:L/VI:L/VA:N, score 6.3, Medium) reflects well. PR:N correctly captures that the attacker needs no phpMyFAQ credentials, while AC:H and AT:P encode the real-world constraints: the attacker must already be able to read the victim's mailbox and the account must have been provisioned by an external identity source (OIDC, Keycloak, Entra ID, LDAP, SSO, or WebAuthn). The impact is rated Low/Low because a successful attack yields takeover of a single delegated account, not system-wide compromise. Signals are largely consistent and point to targeted rather than mass exploitation: there is no CISA KEV listing and no EPSS score was supplied, so widespread automated exploitation is not indicated; the vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with a serious-but-not-emergency fix priority. A standalone PoC is published in the GHSA advisory, but it is an extracted-code harness run against an in-memory SQLite shim - it does not boot phpMyFAQ - so it demonstrates the logic flaw rather than providing a turnkey remote exploit. Missing data to note explicitly: no EPSS probability was provided, and KEV/active-exploitation status is absent (treat as not actively exploited). The most under-appreciated risk is persistence: a local password planted while the account is active survives IdP/directory deprovisioning, making this attractive to a departing insider or an attacker with temporary mailbox access. |
| Exploit ScenarioDerived | An attacker who can read mail for alice@corp.example (a departing insider, or someone with temporary mailbox access) targets Alice's phpMyFAQ account, which was auto-provisioned through the company's OIDC/Entra ID login. They submit a public password-reset request for her account, retrieve the signed reset link from her mailbox, and set a phpMyFAQ-local password of their choosing, then log in locally without ever contacting the IdP - skipping its MFA, conditional access, and deprovisioning. A published PoC in the GHSA advisory demonstrates the underlying logic flaw against extracted code, but it is not verified as a working end-to-end exploit; exploitation is still constrained by AC:H/AT:P (mailbox access plus an externally-provisioned account). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
phpMyFAQ's public password-reset flow (PUT /api/user/password/update followed by POST /api/user/password/reset) issues and redeems reset tokens for accounts provisioned by OIDC, Keycloak, Entra ID, LDAP, SSO or WebAuthn, so an unauthenticated attacker who can read the victim's on-file mailbox can set a local password and authenticate against phpMyFAQ directly, skipping the identity provider's password, MFA, conditional access and deprovisioning. The only thing meant to block this is a check in User::getEncryptedPassword() that reads a hard-coded 'database' value instead of the account's real auth_source, so it never fires; the 4.1.x branch performs no auth-source check at all in UnauthorizedUserController::updatePassword(). Exploitability is gated by two real prerequisites - the target account must have been auto-provisioned by an external source, and the attacker must both know the username with its matching on-file email and be able to read mail sent to it - which the vendor's CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N, 6.3 Medium) reflects, and any phpMyFAQ-local TOTP the victim enabled is still enforced at the final login step; there is no CISA KEV listing or other evidence of active exploitation, and a standalone proof-of-concept published with the advisory exercises extracted code rather than a running phpMyFAQ instance.
RemediationAI
Vendor-released patches are phpMyFAQ 4.1.12 (https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12) and 4.2.0-RC.2 (https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2); upgrade to the fixed release for your branch. The fix in commit 631c0765ee14a591a2bdafeacb1346bd03b27ea3 adds an isLocalAccount() check to UnauthorizedUserController that compares $user->getUserAuthSource() against AuthenticationSourceType::AUTH_LOCAL, treats an empty auth_source (accounts created before the column was recorded) as local, and returns the generic success response on reset request - so no token is mailed - as well as re-checking at reset time because the account's auth source may have changed while a token was outstanding, in which case the reset is rejected as an invalid token. Per the advisory, only updating to a fixed version fully closes the flaw; the residual mitigating factor is that phpMyFAQ-local TOTP, if the victim enabled it, is still enforced on the resulting local login. The vendor advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-59x6-g992-q3fm documents the affected provisioning paths and the reproduction sequence.
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
The root cause is CWE-640 (weak password recovery mechanism for forgotten password) in phpMyFAQ's user model. External authentication drivers - AuthOidc, AuthKeycloak, AuthEntraId, AuthLdap, AuthSso and the WebAuthn controller - all provision accounts through User::createUser($login, ''), which substitutes a random bcrypt hash for the empty password and stores it in faquserlogin, then record the real identity source in faquser.auth_source. That local hash exists only to satisfy the schema. The single guard intended to stop the public reset flow from overwriting it lives in User::getEncryptedPassword(), which compares $this->getAuthSource('name') against 'database'; getAuthSource() reads a private $authData array that is a constant initializer ('authSource' => ['name' => 'database', 'type' => 'local']) and is never populated from the database, while the per-account value lives in a different property, $this->authSource, loaded from auth_source. Commit a6788d545 changed the compared literal from 'db' to 'database', converting an always-refuse guard into an always-pass one, although the docblock still promises an empty string for non-local sources. UnauthorizedUserController::requestReset checks that the login exists, that hash_equals() matches the supplied email, and that getEncryptedPassword() is non-empty before mailing an HMAC-signed link; reset() verifies the token and calls changePassword(), which writes to the local AuthDatabase container. CurrentUser::login() then iterates the auth containers with 'local' sorted last and never consults auth_source, so the planted password authenticates - and for LDAP a failed bind falls through to the local container. On the 4.1.x branch the equivalent code path signs the reset link with the faquserlogin.pass hash and contains no auth-source check whatsoever, and UserController::78 refuses UCP password changes for 'azure'/'oidc' accounts, showing the intended behaviour existed elsewhere.
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:L/VI:L/VA:N/SC:N/SI:N/SA:N
Unauthenticated to the app (PR:N), but out-of-band mailbox access plus an externally-provisioned account make it AC:H; impact is single-account takeover, so C:L/I:L and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an authentication bypass in password reset, letting external-identity accounts receive local passwords. Attackers with mailbox access can request reset tokens for OIDC, Keycloak, Entra ID, LDAP, SSO, or WebAuthn accounts and log in locally, skipping IdP MFA and deprovisioning.
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.
Related Vulnerabilities in phpMyFAQ Authorization Bypass and Info Disclosure
View all 27Duplicate-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-126800
GHSA-ggqr-w2p7-c5g6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB