Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain scoped editor account and shared API token
-
ExploitSend PUT faq/update or POST category via public REST API
-
ExecutionGlobal permission check passes, scope check absent
-
ImpactRewrite out-of-scope published FAQs or create root categories
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 | Exploitation requires a specific phpMyFAQ 4.2 configuration: security.permLevel set to 'medium' (for category- and language-scoped group grants) or 'basic' (for language-scoped grants), with the attacker holding a scoped right such as edit_faq, add_faq, or addcateg restricted to a category and/or language. The attacker must also possess the shared API client token (api.apiClientToken, sent as x-pmf-token) - the same token every API integration uses - and the REST API must be enabled (api.enableAccess = true, which is the default). The flaw is in the public REST write endpoints PUT /api/v4.0/faq/update, POST /api/v4.0/faq/create, and POST /api/v4.0/category, which call only the global userHasPermission() and never the scoped userHasPermissionForCategories()/userHasPermissionForLanguage() checks. Limiting factors: the attacker must already be an authenticated, deliberately scope-restricted editor and must hold the shared API token, so this is not anonymous remote exploitation; impact is integrity-only (content/category manipulation); and installations using permLevel other than medium/basic or not using scoped grants are not affected (4.1.x is not affected at all, as it has no scoped rights). |
| Impact | This is a medium-severity authorization bypass (CWE-863) that is a real but bounded operational concern, not a high-urgency emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows a network-reachable, low-complexity flaw, but PR:L is decisive: exploitation requires an attacker who already holds a scoped editor grant AND the shared API client token, so this is an insider/privilege-scope-escalation issue rather than an anonymous remote compromise. Impact is integrity-only (VI:L; VC:N/VA:N) - attackers can rewrite published content and create categories, but cannot read secrets or deny service. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a moderate priority. No CISA KEV listing and no EPSS score are provided in the input, so there is no signal of active or widespread exploitation; absence of these is not evidence of safety but does argue against emergency treatment. The advisory includes detailed HTTP reproduction steps plus a standalone mechanism PoC that replays the exact permission SQL, so the weakness is well-documented, though no verified end-to-end weaponized exploit against a booted instance is claimed. Net: a legitimate scope-enforcement defect worth patching on a normal cycle, elevated by the fact that the required API token is shared across every integration, which widens who effectively qualifies as an 'authorized' actor. |
| Exploit ScenarioDerived | A content editor at an organization is deliberately restricted to one category and the German language, but is also handed the organization's shared API client token (the same token every integration uses). Using that token and their own logged-in session, they send a PUT /api/v4.0/faq/update that rewrites a live, published English FAQ in a category they were explicitly denied - for example replacing a password-reset answer with a link to an attacker-controlled site - and the public REST endpoint returns 200 even though the admin API returns 403 for the same action. The advisory supplies working HTTP request examples and a mechanism PoC script, though no verified standalone weaponized exploit is published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Category- or language-scoped editors in phpMyFAQ 4.2.0-alpha.2 through 4.2.0-RC.2 can escape their assigned scope through the public REST write endpoints PUT /api/v4.0/faq/update, POST /api/v4.0/faq/create and POST /api/v4.0/category, because those routes check only the global userHasPermission() and never the scoped category/language checks the admin API applies. An attacker who already holds a deliberately restricted edit_faq, add_faq or addcateg grant plus the shared API client token can rewrite live published FAQs and create active root categories outside their permitted categories and languages; the same requests through the admin API return 403, and 4.1.x is unaffected because it has no scoped rights. Impact is integrity-only with no public exploit identified at time of analysis, and exploitation requires a specific configuration: security.permLevel set to medium (category and language scoping) or basic (language scoping) with permission scoping actually in use and api.enableAccess left at its default of enabled.
RemediationAI
Upgrade phpMyFAQ to 4.2.0-RC.2, the version in which the public REST endpoints are brought in line with the admin API scope checks, per the release tag at https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2 and the advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5jwr-95r2-5ch5; the package data lists vulnerable <= 4.2.0-RC.1 fixed in 4.2.0-RC.2, and since 4.2.0-RC.2 is described as the fixed release, sites tracking the 4.2 pre-release line should move to that build or later, and 4.1.x installations need no change for this issue. Because exploitation requires a scoped grant plus the shared api.apiClientToken, treat that token as sensitive. The available sources do not document workarounds beyond updating, so any interim compensating measures such as disabling REST access with api.enableAccess, or avoiding scoped grants at medium/basic permLevel, should be validated against the vendor advisory before being relied upon, with the trade-off that turning off api.enableAccess breaks every API integration that shares the token.
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-863, incorrect authorization, in phpMyFAQ's permission abstraction. In MediumPermission, hasPermission() resolves to checkUserGroupRight() || checkUserRight(), and neither query consults the faqgroup_right_category or faqgroup_right_language tables, so a group grant that is restricted to a category or language still satisfies the global check; the scoped logic lives only in hasPermissionForCategory() and hasPermissionForLanguage(). BasicPermission behaves the same way for direct-grant language limits. The public REST controllers in phpmyfaq/src/phpMyFAQ/Controller/Api/ never call the ForCategories/ForLanguage variants: FaqController::update calls hasValidToken(), then only userHasPermission(FAQ_EDIT), then the record-level isFaqEditableForUser() ACL, and reaches userMayPublish() only when the publication state changes, so keeping is-active true skips even that partial scoped check; FaqController::create calls only userHasPermission(FAQ_ADD) and gates userMayPublish() on is-active; CategoryController::create calls only userHasPermission(CATEGORY_ADD) and passes an unchecked parent-id into setParentId(), with is-active taken from the request body. The corresponding Administration API controllers do enforce scope via userHasPermissionForCategories() and userHasPermissionForLanguage(), which is why the identical request returns 403 there. Category-scoped rights arrived in commit c43e83004 and language-scoped rights in 83db240a7, both first shipped in 4.2.0-alpha.2, and the advisory notes this is a gap left between two earlier fixes (GHSA-8c6h-7g6x-m5x4 and GHSA-j3px-r7cr-r26r) that predate the 4.2 scope model. The vendor's reproduction requires medium permission mode, a group holding edit_faq restricted to category A and/or language de, an ordinary published FAQ in another category, and the api.apiClientToken value sent as the x-pmf-token header; the supplied proof of concept is a standalone PHP/SQLite script that replays the real permission SQL rather than a working remote exploit, and the controller flow was established by code reading, so a public PoC reference exists but it is not verified as working exploit code.
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:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network REST endpoint with low complexity (AV:N/AC:L); PR:L because a valid scoped editor account plus the shared API token is required; integrity-only impact (I:L), no confidentiality or availability effect, no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-RC.2 contains an incorrect authorization vulnerability that allows category- or language-restricted editors to bypass scoped rights via public REST write endpoints. Attackers with a scoped right and the shared API token can use PUT faq/update, POST faq/create, and POST category to rewrite published FAQs and create root categories outside their scope.
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-126798
GHSA-r534-7353-hrf9
NVD
CVE.org
EPSS
Exploit-DB