Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-tier admin with edit_user rights
-
DeliveryLocate editUser/updateUserRights endpoint
-
ExploitSubmit request setting is_superadmin or full rights mask
-
ExecutionBackend skips authorization check and persists change
-
PersistRe-authenticate or reload session with SuperAdmin role
-
ImpactFull takeover of phpMyFAQ instance and content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must already hold an authenticated phpMyFAQ administrator session that has been granted the edit_user permission (a non-SuperAdmin delegated user-management role); they then invoke the editUser() or updateUserRights() endpoints with crafted parameters setting is_superadmin or arbitrary rights. Exploitation is limited to phpMyFAQ deployments older than 4.1.4 that actually delegate edit_user to non-SuperAdmin accounts - installations where only the SuperAdmin holds that permission are not realistically reachable, and no unauthenticated path is described. No user interaction by another admin is required (UI:N), the network is the vector, and complexity is low. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with VC:H/VI:H/VA:H yields 8.7, accurately reflecting network-reachable, low-complexity exploitation by an already-authenticated low-privilege admin user. No EPSS score and no CISA KEV entry are present in the input, so there is no signal of mass scanning or active exploitation - risk is high inside any deployment that delegates user-management rights to non-SuperAdmin staff, but lower for single-admin installs where no one but SuperAdmin holds edit_user. The flaw was reported by VulnCheck and a vendor security advisory (GHSA-985r-q3qp-299h) is published, raising the likelihood that working PoCs will emerge quickly, but at this moment no public exploit identified at time of analysis. Confidence in the CVSS vector is good; the only conflicting signal is that PR:L assumes edit_user is granted - for deployments where it is not delegated, real-world reachability drops sharply. |
| Exploit ScenarioDerived | A staff member granted only the edit_user permission to handle routine account maintenance logs into the phpMyFAQ admin panel and issues an authenticated request to updateUserRights() (or editUser()) that toggles is_superadmin=1 on their own account or grants themselves a full rights mask. On the next request they have SuperAdmin access and can read or alter every FAQ entry, attachment, configuration value, and user record. No user interaction by other admins is required and exploitation is fully scriptable once the attacker has a low-tier admin session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Privilege escalation in phpMyFAQ before 4.1.4 allows authenticated non-SuperAdmin users holding the edit_user permission to promote themselves to SuperAdmin via missing authorization checks in the editUser() and updateUserRights() endpoints. The flaw lets a low-tier administrator set the is_superadmin flag or grant arbitrary rights, fully compromising the FAQ application; publicly available exploit code exists is not asserted, and at time of analysis no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: phpMyFAQ 4.1.4 - upgrade immediately per the GitHub Security Advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-985r-q3qp-299h. Until the upgrade can be deployed, revoke the edit_user permission from all accounts other than trusted SuperAdmins so the vulnerable editUser() and updateUserRights() endpoints cannot be reached by lower-tier admins (side effect: delegated user management workflows will break and SuperAdmins must handle account changes). Additionally, audit the users table for unexpected is_superadmin=1 rows or anomalous rights grants made before patching, and restrict network access to the phpMyFAQ admin path (/admin) to known operator IPs as defence in depth (side effect: remote admin work requires VPN).
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 FAQ/knowledge-base web application that supports a multi-tier permissions model distinguishing standard users, group administrators, and SuperAdmins. The root cause is CWE-862 (Missing Authorization): the editUser() and updateUserRights() handlers verify only that the caller holds the generic edit_user permission, but never re-check that the caller is itself a SuperAdmin before allowing the is_superadmin attribute or arbitrary right assignments to be written. Per the CPE cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:* the issue affects all phpMyFAQ branches prior to 4.1.4.
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:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable web endpoint (AV:N), no special conditions (AC:L), requires an authenticated admin with edit_user (PR:L), no victim interaction (UI:N); full app takeover gives C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
phpMyFAQ before 4.1.4 contains missing authorization vulnerabilities in editUser() and updateUserRights() endpoints that allow authenticated administrators to escalate privileges. Non-SuperAdmin users with edit_user permission can set is_superadmin flag or grant arbitrary rights to escalate to SuperAdmin access.
Executive ViewAI
phpMyFAQ before version 4.1.4 allows administrators to escalate their privileges to SuperAdmin, enabling complete unauthorized control of the FAQ system. Organizations using affected versions risk loss of administrative oversight, unauthorized access to sensitive knowledge bases, and potential compliance violations. An immediate patch is available to restore proper authorization controls.
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
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-38162
GHSA-q82q-6rfm-h9vp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB