Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any frontend user
-
DeliveryObtain request-removal CSRF token
-
ExploitPOST victim's userId/login/email triple
-
ExecutiongetUserById loads target, reflexive check passes
-
ImpactAdmin acts on spoofed email, deletes victim account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires an authenticated frontend account (self-registration is enabled by default), knowledge of the victim's login name and email, and a mail-configured instance; the numeric userId is sequential and easily guessed. The endpoint also requires a valid request-removal CSRF token, which is issued to any logged-in user. Exploitation is materially limited: nothing is deleted automatically - an administrator must act on the spoofed 'Remove User Request' email, and the Reply-To is set to the real victim, so an admin who replies would notice the spoof. Affected versions are 3.2.5 through 4.1.11 and the 4.2.0 pre-releases through 4.2.0-beta/RC.2; fixed in 4.1.12 and 4.2.0-RC.2. Updating is the vendor remediation. |
| Impact | This is a genuine but lower-tier priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) and the 5.1 (medium) base score agree with the described mechanism: a network-reachable endpoint abusable by an already-authenticated low-privilege user, with the actual harm gated behind passive interaction - an administrator who trusts and acts on a spoofed 'Remove User Request' email. The technical impact is limited (VI:L, with VC:N/VA:N), because the flaw itself only sends a forged in-product email; deletion of the victim's account and data happens through the admin, not automatically. It is NOT in CISA KEV (no confirmed active exploitation), and no EPSS score was provided, so widespread exploitation cannot be inferred from these signals. A public PoC reference exists in the GHSA advisory, but it is extracted-logic code exercising the vulnerable comparison against a stub, not verified as a working exploit against a booted instance - so POC availability here should not be read as active exploitation. The vuln.today decision label is 'this_month', consistent with a patch-on-normal-cadence priority rather than act_now/emergency. Net: a real authorization-bypass bug (CWE-639, an incomplete fix of GHSA-6648) worth patching on a normal monthly cycle, not a drop-everything emergency. |
| Exploit ScenarioDerived | An authenticated low-privilege phpMyFAQ frontend user who knows a victim's login name and email logs in, requests the removal CSRF token via GET /user/request-removal, then POSTs the victim's userId, loginname, and email to /api/user/request-removal. The reflexive ownership check passes, so administrators receive a 'Remove User Request' email appearing to come from the victim; if an admin trusts it, the victim's account and data are deleted. A standalone extracted-logic PoC in the GHSA advisory demonstrates the bypassed check, though it is not a booted-instance exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Any authenticated frontend user of phpMyFAQ 3.2.5 through 4.1.11, and of the 4.2.0 pre-releases up to 4.2.0-beta/RC.2, can file an account-removal request in another user's name, causing administrators to receive a spoofed 'Remove User Request' email that appears to originate from the victim. The ownership check introduced in 3.2.5 for GHSA-6648-6g96-mg35 first loads the attacker-supplied userId into the session user object, so the subsequent comparisons only prove the submitted id, login name and email are self-consistent rather than that they belong to the caller; a victim's login name and email - with a sequential numeric id - are enough to abuse it. Impact is deliberate rather than automatic: nothing is deleted unless an administrator acts on the email, the Reply-To is the real victim's address, and a public PoC reference exists (extracted logic published with the advisory) that is not verified as working exploit code; no confirmed active exploitation is associated with this CVE.
RemediationAI
Vendor-released patch: upgrade to phpMyFAQ 4.1.12 or 4.2.0-RC.2 - updating is the remediation the vendor documents. Commit 30997574d7c00b4e2d7121cf1653fb244c63dd9e replaces the reflexive check with isRemovalRequestForCurrentUser(), which requires isLoggedIn() and binds the submitted userId, loginname and email directly to the session user's values without ever calling getUserById() on $this->currentUser, adds userIsAuthenticated() to the endpoint, and adds regression tests asserting that a removal request naming another existing user is rejected and that getUserById() is never invoked. Because the source of the defect is in the endpoint itself, no code-level workaround exists for unpatched instances; the practical compensating controls are around the human step that gives the flaw its impact. Administrators should treat in-product 'Remove User Request' messages as unverified and confirm deletion out-of-band - note the Reply-To is set to the genuine victim's address, so replying to the message exposes the spoof, at the cost of an extra round-trip before any account is removed. Restricting or disabling self-registration shrinks the pool of accounts able to reach the endpoint (self-registration is on by default and an authenticated account is a prerequisite), though it does not fix the flaw and changes onboarding for legitimate users. Advisory: https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-42c6-wxqw-2rv6.
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 a PHP-based FAQ/community application by Thorsten Rinne (CPE thorsten:phpmyfaq), and the flaw is a textbook CWE-639 authorization bypass through a user-controlled key, with CWE-863 (incorrect authorization) and CWE-204 (observable response discrepancy) as secondary classes. In UserController::requestUserRemoval (src/phpMyFAQ/Controller/Frontend/Api/UserController.php on main, and the earlier Controller/Frontend/UserController.php in 4.1.x), the userId, loginname and email values are taken from the POST body. The validation calls $this->currentUser->getUserById($userId) before comparing the input to getUserId(), getLogin() and getUserData('email'). User::getUserById() is a mutator, not a lookup on a separate object: it runs SELECT ... WHERE user_id = %d AND account_status != 'blocked', then extractUserFromResult() overwrites $this->userId and $this->login and reloads userData for that row. Since 4.0 the receiver is $this->currentUser (CurrentUser does not override getUserById), so the check is reflexive - it compares attacker input against the target's own record. The same defective check existed in 3.2.5 (api.service.php) with a fresh new User(), was carried into 4.0.0 (c67890496) and 4.1.11, and survives through 4.2.0-beta/RC.2. A valid 'request-removal' CSRF token, issued to any logged-in user by GET /user/request-removal, must accompany the POST. Existing unit tests mock CurrentUser, so getUserById() never mutated state and the defect went undetected; the advisory notes the endpoint also discloses whether a userId/login/email triple is valid via 400 versus 200 responses, but only for triples the attacker already knows.
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:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network endpoint abusable by an authenticated low-privilege user (PR:L); harm only materializes if an admin acts on the spoofed email (UI:R); limited integrity impact, no confidentiality or direct availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
phpMyFAQ 3.2.5 before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an authorization bypass vulnerability in the user/request-removal API endpoint that lets authenticated users file account removal requests as other users. The ownership check calls getUserById() with the attacker-supplied userId on the session user object, so it compares the input against the target's own record. Attackers who know a victim's login name and email can submit that userId, loginname, and email, sending administrators a spoofed Remove User Request email. This may lead an admin to delete the victim's account and data.
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-126804
GHSA-mmjf-pc5j-8xpr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB