Description
phpMyFAQ before 4.1.12 and 4.2.0-alpha.2 before 4.2.0-RC.2 contains an authorization bypass vulnerability that allows authenticated editors to manipulate search index documents by supplying an arbitrary solutionId to the /admin/api/faq/update endpoint. On Elasticsearch or OpenSearch deployments, category-restricted editors can remove published FAQs from search, overwrite other FAQs' search documents, or plant entries that remain searchable after unpublishing.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thorsten | phpMyFAQ | 0 <4.1.12 | — |
| thorsten | phpMyFAQ | 4.2.0-alpha.2 <4.2.0-RC.2 | — |
References
- https://github.com/thorsten/phpMyFAQ/commit/2a62324de93736d193058d2b4b95de4f57922b1b
- https://github.com/thorsten/phpMyFAQ/commit/44fbf492437ea87dca01acb904616656502ff251
- https://github.com/thorsten/phpMyFAQ/blob/4.2.0-RC.1/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php#L405
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2
- https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.12-and-4.2.0-alpha.2-before-4.2.0-rc.2-search-index-manipulation-via-solutionid