Junglewise Threat Intelligence

phpMyFAQ missing authorization in Admin API configuration endpoints

Severity: medium · CVSS 4.3 · Published 2026-05-15

Technologies: phpmyfaq/phpmyfaq (Packagist), Thorsten phpMyFAQ, thorsten/phpmyfaq (Packagist). Vendors: Packagist, Thorsten.

Executive brief

phpMyFAQ is an open-source knowledge base system. A security flaw in the administration interface allows any logged-in user, regardless of their actual permission level, to view sensitive system configuration details. This includes information about the server's email setup, caching systems, and internal security models, which could be used to plan more advanced attacks against the organization.

Technical details

A missing authorization check exists in `ConfigurationTabController.php` within phpMyFAQ versions prior to 4.1.2. While the application correctly enforces the `CONFIGURATION_EDIT` permission for destructive actions, 12 GET endpoints under `/admin/api/configuration/` only verify that a user is authenticated (`userIsAuthenticated()`) rather than checking for specific administrative privileges. An attacker with low-privileged account access can exploit these endpoints to enumerate system metadata, including the permission model, cache backend (Redis/Memcached), mail provider, and active templates. This information disclosure violates the principle of least privilege and aids in reconnaissance for further exploitation. The issue is resolved in version 4.1.2 by implementing proper `userHasPermission` checks.

Affected products

  • thorsten phpMyFAQ < 4.1.2

Timeline

  • 2026-04-28: advisory: Original vendor advisory published (GHSA-rm98-82fr-mcfx)
  • 2026-05-15: disclosed: CVE-2026-45007 published
  • 2026-06-09: patched: Duplicate advisory GHSA-p26v-fx3x-r2rp withdrawn in favor of GHSA-pqh6-8fxf-jx22

References

Related threats