Description
phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an incorrect authorization vulnerability that allows delegated group or user admins to remove rights they do not hold by submitting empty rights lists. Attackers can send an empty rightIds or userRights array to group/permissions or user/update-rights to wipe all rights of more-privileged groups or administrators.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thorsten | phpMyFAQ | 4.2.0-alpha <4.2.0-RC.2 | — |
| thorsten | phpMyFAQ | 0 <4.1.12 | — |
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5p5c-78hg-hwp9
- https://github.com/thorsten/phpMyFAQ/commit/097f27f9667ea3fe4bfbbb7d8e1ba9e2ff2f9e92
- 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-before-4.2.0-rc.2-incorrect-authorization-via-rights-endpoints