GHSA-hpgw-ww76-c68r: phpMyFAQ has an Authorization Bypass in All Admin Pages Due to Non-Terminating Permission Check
AbstractAdministrationController::userHasPermission() catches the ForbiddenException thrown when a user lacks a specific permission, sends a “forbidden” HTML page via $response->send(), but does not terminate execution. The calling controller method continues to execute, fetches protected data, renders the full template, and returns it as a Response. The final $response->send() in admin/index.php outputs the protected page content after the forbidden page, leaking all permission-protected admin data to any authenticated admin user regardless of their actual permissions.
References
Code Behaviors & Features
Detect and mitigate GHSA-hpgw-ww76-c68r with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →