phpMyFAQ Missing Permission Check in Configuration API Endpoints Allows Information Disclosure

Vulnerability

A vulnerability exists in phpMyFAQ versions prior to 4.1.2, specifically within the ConfigurationTabController.php file. This issue arises from missing permission checks on 12 endpoints, which incorrectly use userIsAuthenticated() instead of the required userHasPermission(CONFIGURATION_EDIT). As a result, any authenticated user can access and enumerate sensitive system configuration metadata, such as the permission model, cache backend, mail provider, and translation provider, by querying the /admin/api/configuration endpoints. This vulnerability violates the principle of least privilege access control.

Impact

Exploitation of this vulnerability allows any authenticated user to access sensitive configuration information that could be used to facilitate further attacks. The exposed data includes the permission model, cache backend, mail provider, and translation provider, all of which could be leveraged in a targeted follow-up attack.

Reproduction

To reproduce this vulnerability, authenticate as any user with access to the phpMyFAQ application (even those with minimal permissions). Once authenticated, query the /admin/api/configuration endpoints that should require CONFIGURATION_EDIT permission. The response will include configuration data in HTML option format, indicating successful exploitation.

Remediation

Users are advised to update phpMyFAQ to version 4.1.2 or later, where this vulnerability has been addressed.

Added: May 15, 2026, 7:37 PM
Updated: May 15, 2026, 7:37 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
0.6
exploitability
6.6
remediation
7.7
relevance
8.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.