Description
phpMyFAQ from 4.0.0 before 4.1.9 contains an incorrect authorization vulnerability that allows delegated admins lacking the editnews right to modify news by calling PUT /admin/api/news/update, which checks NEWS_DELETE instead of NEWS_EDIT. Attackers holding addnews and delnews can read the update-news CSRF token from their own cookie and rewrite any news item's header, body, author, link and active flag shown on the public front page.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thorsten | phpMyFAQ | 4.0.0 – < 4.1.9 | 4.1.9 |
References
- GitHub Security Advisory (GHSA-287v-6c6j-x9f7) vendor-advisory
- VulnCheck Advisory: phpMyFAQ 4.0.0 before 4.1.9 Incorrect Authorization via news update API third-party-advisory