Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as delegated group/user admin
-
ExploitPOST empty rightIds to group/permissions or user/update-rights
-
ExecutionHeld-rights check loop skipped on empty array
-
ImpactWipe all rights of more-privileged group or administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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 | Requires an authenticated, non-SuperAdmin ('delegated') administrator account that already holds the delegable group-management (GROUP_EDIT) or user-management (USER_EDIT) rights. The group endpoint (POST /admin/api/group/permissions) additionally requires the instance to run with security.permLevel = medium; the user endpoint (PUT /admin/api/user/update-rights) works under both the basic and medium permission levels. The trigger is submitting an empty rightIds or userRights array, which causes the per-right 'rights you hold' check loop to be skipped entirely. Limiting factors for defenders: it cannot be performed unauthenticated or by an ordinary non-admin user - the attacker must be a trusted lower-tier administrator, so the realistic threat is a malicious or compromised delegated admin rather than an external anonymous attacker; affects phpMyFAQ before 4.1.12 and the 4.2.0-alpha line before 4.2.0-RC.2. |
| Impact | This is a medium-severity authorization flaw (CVSS 4.0 base 5.1), and the signals are internally consistent rather than conflicting. The vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L is network-reachable with low complexity and no user interaction, but PR:H means the attacker must already be an authenticated, delegated (non-SuperAdmin) administrator holding the delegable group- or user-management rights - this is an insider/privilege-boundary issue, not a remote-unauthenticated break. Impact is bounded: no confidentiality loss (VC:N), only limited integrity and availability (VI:L/VA:L), because the attacker can wipe the rights of more-privileged groups/admins (effectively a privilege/denial of administrative function) but cannot read data or gain the rights themselves. No EPSS score was supplied and the CVE is NOT in CISA KEV, so there is no evidence of widespread or automated exploitation; the vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a patch-on-normal-cycle priority. A detailed public PoC reference exists in the GHSA advisory, but the reporter states it was confirmed by two manual code reviews and a source-text script, not executed against a running instance. Net: a genuine, well-documented access-control bug worth patching this month, but gated behind existing delegated-admin privileges, so real-world risk is moderate and primarily an insider or compromised-sub-admin scenario rather than a mass-exploitation threat. |
| Exploit ScenarioDerived | A delegated administrator who holds only the delegable GROUP_EDIT or USER_EDIT management rights sends POST /admin/api/group/permissions with {"rightIds": []} (or PUT /admin/api/user/update-rights with {"userRights": []}); the handler first calls refuseAll*Rights() to wipe the target, then re-grants from the submitted list, but the 'you may only grant rights you hold' check loops over the empty submitted array and never runs, so every right of a more-privileged group or admin is deleted. A public PoC reference with full reproduction steps exists in the GHSA advisory; it is not verified as a working exploit because dependencies were not installed and the requests were never sent to a live instance (confirmed via code review instead). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Delegated non-SuperAdmin administrators in phpMyFAQ can strip every permission from higher-privileged groups and administrator accounts by submitting an empty rightIds or userRights array to the admin API endpoints group/permissions and user/update-rights. The 'you may only grant rights you hold' validation loops over the submitted list, so an empty list skips the check entirely while the handler still calls refuseAllGroupRights()/refuseAllUserRights() and deletes the target's existing rights. The flaw affects phpMyFAQ up to and including 4.1.11 and the 4.2.0-alpha line before 4.2.0-RC.2, is reachable only by an authenticated administrator holding the delegable GROUP_EDIT right (with security.permLevel = medium) or USER_EDIT right (at any permission level), and is rated CVSS 4.0 base 5.1 (low integrity and availability impact); there is no CISA KEV entry or confirmed active exploitation, and the reproduction procedure published with the advisory was validated by source-code review rather than against a running instance.
RemediationAI
Vendor-released patch: upgrade to phpMyFAQ 4.1.12 or 4.2.0-RC.2, which contain commit 097f27f9667ea3fe4bfbbb7d8e1ba9e2ff2f9e92 adding actingUserHoldsAllRightsOf() checks to updateUserRights() and deleteUser() and assertActorHoldsAllGroupRights() to updatePermissions(); release notes are at https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12 and https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2, with details in https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5p5c-78hg-hwp9. If upgrading must be staged, revoke the delegable GROUP_ADD/GROUP_EDIT/GROUP_DELETE and USER_ADD/USER_EDIT/USER_DELETE rights from non-SuperAdmin accounts until the patch is applied, accepting that delegated group and user administration stops working for those accounts; note that lowering security.permLevel to basic only removes the group endpoint's exposure and leaves the user path exploitable in both modes, so it is not a substitute for the fix. Because the missing check is on removal rather than granting, detection is retrospective: audit faqgroup_right and faquser_right for groups or accounts that have lost all rights, and review administration access logs for POST admin/api/group/permissions or PUT admin/api/user/update-rights requests carrying empty rightIds or userRights arrays, keeping in mind that such reviews only surface abuse after privileges have already been destroyed and require restoration of the affected assignments by a SuperAdmin.
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 implements role-based access control through a Permission subsystem built on the MediumPermission repository, which persists group rights in the faqgroup_right table and per-user rights in faquser_right; group rights exist only when security.permLevel is set to medium. The vulnerability is CWE-863 (incorrect authorization) in the administration API controllers phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/GroupController.php (updatePermissions, route POST admin/api/group/permissions, gated only by PermissionType::GROUP_EDIT) and UserController.php (updateUserRights, route PUT admin/api/user/update-rights, gated only by USER_EDIT). Both handlers call refuseAll*Rights() on the target and then re-grant the submitted ids, and both perform their held-rights comparison inside a foreach over the submitted array; with an empty array the loop body never executes, no rejection occurs, and the unconditional wipe against faqgroup_right (plus the group's language restrictions) or faquser_right proceeds. Sibling operations in the same controllers (deleteGroup, updateMembers, updateGroup via denyUnlessGroupRightsHeld, and editUser via actingUserHoldsAllRightsOf) already enforce that a delegated admin cannot destroy privileges they could never grant, so the rights-replacement endpoints are the gap; this is a follow-up to GHSA-crh2-cv2j-cpjh and GHSA-jprf-xpcq-vjwq. The vendor fix in commit 097f27f9667ea3fe4bfbbb7d8e1ba9e2ff2f9e92 adds actingUserHoldsAllRightsOf() checks to updateUserRights() and deleteUser(), calls assertActorHoldsAllGroupRights() from updatePermissions(), and adds an instanceof MediumPermission guard so the check degrades safely when group rights are not in use.
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:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Exploitation requires a delegated admin holding management rights, so PR:H; network API with no interaction gives AV:N/AC:L/UI:N; no data disclosure (C:N) but rights are wiped, giving limited I:L and A:L.
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 incorrect authorization vulnerability that allows delegated group or user admins to remove rights they do not hold by submitting empty rights lists. Attackers can send an empty rightIds or userRights array to group/permissions or user/update-rights to wipe all rights of more-privileged groups or administrators.
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-126797
GHSA-22vj-93m4-g8x7
NVD
CVE.org
EPSS
Exploit-DB