Summary
phpMyFAQ's multisite Redis configuration store does not properly isolate tenant configuration, allowing a tenant administrator to access and change the master instance's effective settings. Depending on the settings changed, this could expose sensitive configuration or affect services that rely on it.
Affected context
The issue affects phpMyFAQ versions from 4.2.0-alpha before 4.2.0-RC.2 when multisite deployments use the Redis configuration store. In this context, configuration access is not scoped to the requesting tenant, so tenant administrators may be able to read or overwrite settings used by the master instance.
Exploit preconditions
- Attack surface: The administrative configuration API at
/admin/api/configuration - Required access: Tenant administrator privileges in an affected multisite deployment
- Trigger point: Reading or saving configuration through the API
- Why exploitation is possible: The Redis-backed configuration store does not enforce tenant scoping, allowing tenant-level access to affect master-instance configuration. Changing
storage.redisPrefixmay also affect which configuration is targeted.
Why this happens
The underlying issue is an authorization and tenant-isolation failure. Configuration lookups and updates in the multisite Redis store are not adequately scoped to the authenticated tenant, allowing a tenant administrator to access settings outside their intended boundary. This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where access control does not sufficiently constrain which resource a user can address.
Potential impact
- Tenant administrators may be able to read sensitive master-instance configuration.
- They could alter master SMTP, authentication, or API-token settings.
- Changes may disrupt email delivery or weaken authentication controls.
- A known API token or redirected service configuration could enable further misuse, depending on the deployment.
General mitigation guidance
Mitigation patterns focus on enforcing authorization at the configuration-store boundary:
- Scope every configuration read and write to the authenticated tenant using server-controlled identity.
- Avoid allowing tenant-controlled values, such as storage prefixes, to select or redirect access to privileged configuration.
- Apply explicit authorization checks to administrative configuration operations and validate them against a strict schema.
- Separate master-instance configuration from tenant configuration where practical.
- Use least privilege for service credentials and limit the operational impact of configuration changes.
How teams detect issues like this
Review configuration-store access paths for tenant identity checks applied consistently to reads and writes. Code review and static analysis can look for user-controlled keys or prefixes used to select configuration without authorization validation. Audit logs and policy checks can flag tenant-admin actions that access or modify master-level settings, including changes to Redis prefixes, SMTP settings, API tokens, or authentication configuration.

