phpMyFAQ: /api/setup/backup accessible to any authenticated user (authz missing)
Moderate severity
GitHub Reviewed
Published
Jan 23, 2026
in
thorsten/phpMyFAQ
•
Updated Jan 28, 2026
Description
Published to the GitHub Advisory Database
Jan 23, 2026
Reviewed
Jan 23, 2026
Published by the National Vulnerability Database
Jan 24, 2026
Last updated
Jan 28, 2026
Summary
Authenticated non‑admin users can call /api/setup/backup and trigger a configuration backup. The endpoint only checks authentication, not authorization, and returns a link to the generated ZIP.
Details
SetupController.php uses userIsAuthenticated() but does not verify that the requester has configuration/admin permissions. This allows any logged‑in user to create a sensitive backup and retrieve its path.
PoC
Precondition: API enabled, any authenticated non‑admin user.
Impact
Low‑privileged users can generate sensitive backups. If the ZIP is web‑accessible (server misconfiguration), this can lead to secret exposure.
References