Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as provisioned tenant admin
-
DeliveryRead master's shared Redis config hash
-
ExploitPOST crafted save to /admin/api/configuration
-
ExecutionReset storage.redisPrefix to master prefix
-
PersistOverwrite master SMTP relay and API token
-
ImpactHijack master instance mail and REST API
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 all of: (1) a multisite phpMyFAQ 4.2.0 pre-release (alpha through RC.2) - not 4.1.x/4.0; (2) the master instance has the optional 'Use Redis for configuration' store enabled (storage.useRedisForConfiguration), which is non-default; (3) at least one tenant provisioned via /admin/api/instance/add, whose admin is created as user id 1 with the copied CONFIGURATION_EDIT right; and (4) the attacker controlling that tenant-admin account. The passive path triggers on any config save because every tenant inherits the master's storage.* keys (shared hash 'pmf:config:items'); the active path lets a tenant admin reset storage.redisPrefix back to the master's prefix even when the operator assigned a separate prefix. Limiting factors: needs authenticated tenant-admin privileges (PR:H), the Redis config store must be enabled by the operator, and only the 4.2.0 pre-release line is affected; storage.* keys are writable because the save handler only blocks main.phpMyFAQToken, core.* and upgrade.lastDownloadedPackage. |
| Impact | Severity is driven by the real impact - a tenant administrator can read and overwrite the MASTER instance's effective configuration (SMTP relay, REST API token, registration/auth settings, maintenance mode), a genuine cross-trust-boundary compromise. The provided CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:H/UI:N, score 7.1) frames the real constraints well: it is network-reachable but needs high privileges (PR:H - a tenant admin account the super admin created) and has elevated attack complexity/requirements (AC:H/AT:P) because the master must have the optional Redis configuration store enabled and a tenant must have been provisioned. VulnCheck's priority label is 'this_week' (not act_now/emergency), consistent with no CISA KEV listing and no EPSS score provided - there is no evidence of active exploitation. A detailed, researcher-executed PoC exists inside the GHSA advisory, but it exercises extracted code paths (SQLite + in-memory Redis stub), not a booted HTTP instance, so it demonstrates the logic flaw rather than a drop-in remote exploit. Net: a legitimately high-impact authorization bypass, but gated behind operator-controlled prerequisites and an already-trusted (if separate) tenant-admin account - prioritize for multisite+Redis deployments on 4.2.0 pre-releases, not a mass-exploitation emergency. EPSS and KEV are both absent from the input; treat the absence as 'not yet scored/listed,' not as evidence of safety. |
| Exploit ScenarioDerived | In a multisite phpMyFAQ 4.2.0 pre-release where the operator enabled 'Use Redis for configuration,' an attacker who controls a provisioned tenant-admin account logs into their tenant and saves configuration via POST /admin/api/configuration; because the Redis hash key is only 'pmf:config:items' (not tenant-scoped), the write lands in the master's live config. They set mail.remoteSMTPServer to an attacker host and api.apiClientToken to a known value, redirecting the master's outbound mail (including password-reset mail) and gaining its REST API. A researcher-executed PoC in the GHSA advisory reproduces the cross-tenant read/overwrite against the real storage classes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Tenant administrators on multisite phpMyFAQ 4.2.0 pre-releases (alpha through RC.2) can read and overwrite the master instance's effective configuration because the optional Redis configuration store is keyed on the prefix alone and is therefore not tenant-scoped. Exploitation requires an authenticated tenant-admin account (PR:H), the non-default 'Use Redis for configuration' option enabled on the master, and at least one tenant provisioned via /admin/api/instance/add; the attacker can then redirect master SMTP, substitute a known REST API token, or change authentication and maintenance settings. The GitHub advisory (GHSA-6795-wmwp-422x) ships a full reproduction plus a standalone PoC script that executes the real Configuration/Storage classes; there is no CISA KEV entry and active exploitation is not confirmed. A vendor fix is available in 4.2.0-RC.2.
RemediationAI
Vendor-released patch: upgrade to phpMyFAQ 4.2.0-RC.2 or later (https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2), which scopes the Redis configuration store per tenant; consult the advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-6795-wmwp-422x for the vendor's guidance. Because the vendor states that updating is the complete fix, the primary compensating control for deployments that cannot upgrade immediately is to disable 'Use Redis for configuration' (storage.useRedisForConfiguration=false) on the master and on all tenants so configuration reads and writes fall back to the tenant-scoped database and filesystem cache; the trade-off is loss of the Redis configuration-caching benefit and the need to verify or flush the existing shared hash (for example pmf:config:items), since the master may already be running values written into Redis rather than its own DB rows. Note that operator-side per-tenant prefixes or DSNs are not a sufficient mitigation on their own, because a tenant administrator can reset storage.* keys back to the master's namespace when the vulnerable version is running. Audit master configuration for unexpected changes to mail.remoteSMTPServer, api.apiClientToken, security.enableRegistration and main.maintenanceMode, and rotate the master REST API token and SMTP credentials, since a tenant admin could have substituted known values by writing directly into the shared Redis hash.
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 flaw is CWE-639 (authorization bypass through a user-controlled key) in phpMyFAQ's 4.2 configuration storage layer. RedisConfigurationStore::getHashKey() composes the Redis hash from storage.redisPrefix only, producing a single shared key such as pmf:config:items, while the equivalent filesystem cache is tenant-scoped via an identity of PMF_CONFIG_DIR|tablePrefix|table. HybridConfigurationStore::fetchAll() returns the Redis hash whenever it is non-empty and never consults the tenant's own faqconfig rows, and updateConfigValue() pushes every saved key back into that same hash. Because tenant provisioning (Client::createClientTables / copyBaseDataToSchema / insertSeedRows) does INSERT INTO <tenant>faqconfig SELECT * FROM <master>faqconfig and only rewrites main.referenceURL and layout.templateSet, each tenant inherits the master's storage.useRedisForConfiguration, storage.redisDsn and storage.redisPrefix, so it reads and writes the master's hash; a tenant admin can additionally reset storage.redisPrefix (and the DSN) back to the master's values even when the operator assigned a distinct prefix. The save handler's denylist covers only main.phpMyFAQToken, core.* and upgrade.lastDownloadedPackage, so storage.* is writable, and DatabaseConfigurationStore returns true even when an UPDATE matches zero rows, letting keys absent from the tenant DB (for example api.apiClientToken) reach Redis. Trigger details beyond this flow are not described in the available sources. RedisConfigurationStore.php does not exist on the 4.1 or 4.0 branches, so only the 4.2.0 pre-release line is affected.
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:H/AT:P/PR:H/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L
Tenant-admin privilege required (PR:H) and exploitation depends on the non-default Redis config store plus provisioning conditions (AC:H); the write crosses from tenant into the master instance (S:C) with high config-integrity impact and limited confidentiality/availability.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
phpMyFAQ from 4.2.0-alpha before 4.2.0-RC.2 contains an authorization bypass vulnerability in the multisite Redis configuration store that is not tenant-scoped. As a result, tenant administrators can read and overwrite the master instance's effective configuration. Attackers can save configuration through /admin/api/configuration, optionally resetting storage.redisPrefix, to redirect master SMTP, set a known API token, or alter authentication settings.
Technical POC Analysis
CWE-639 (Authorization Bypass Through User-Controlled Key), with the advisory also tagging CWE-668 and CWE-15.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity configuration isolation flaw in pre-release versions of phpMyFAQ's multisite capability allows a tenant administrator to read and alter the master instance's core configuration, potentially compromising email delivery, API trust, and authentication settings. While the product is still in pre-release and exploitation requires authenticated tenant-admin access plus a non-default Redis configuration, the flaw could let a single tenant disrupt or gain control over the entire platform. Leadership should care because it undermines tenant isolation and could erode customer trust if left unaddressed, even though no active exploitation has been confirmed.
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.
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-126796
GHSA-vmcw-7j96-cwc5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB