Skip to main content

phpMyFAQ EUVDEUVD-2026-126800

| CVE-2026-130347 MEDIUM
Weak Password Recovery Mechanism for Forgotten Password (CWE-640)
2026-11-17 VulnCheck GHSA-ggqr-w2p7-c5g6
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain read access to victim's mailbox
  2. Delivery
    Submit public password-reset for IdP-provisioned account
  3. Exploit
    Reset flow writes attacker-chosen local password
  4. Execution
    Authenticate locally with that password
  5. Impact
    Account 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

phpMyFAQ 0 <4.1.12
phpMyFAQ 4.2.0-alpha <4.2.0-RC.2

Affected Packages

euvd phpmyfaq fix: 4.1.12, 4.2.0-RC.2

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

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche open-source FAQ web application, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-59943 CRITICAL POC
9.8 Oct 03

Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una

CVE-2023-5865 CRITICAL POC
9.8 Oct 31

Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8

CVE-2023-1886 CRITICAL POC
9.8 Apr 05

Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity

CVE-2023-1753 CRITICAL POC
9.8 Mar 31

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t

CVE-2022-3754 CRITICAL POC
9.8 Oct 29

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th

CVE-2026-46364 CRITICAL POC
9.3 May 15

Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and

CVE-2017-15730 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS

CVE-2017-15808 HIGH POC
8.8 Oct 23

In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2017-15735 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS

CVE-2017-15734 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8

CVE-2024-28107 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

CVE-2024-27299 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy