phpMyFAQ 3.2.5 before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 Authorization Bypass via request-removal
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| thorstenphpMyFAQ |
≥ 3.2.5, < 4.1.12→ 4.1.12 ≥ 4.2.0-alpha, < 4.2.0-RC.2→ 4.2.0-RC.2 |
4.1.12 4.2.0-RC.2 |
Original description The description as published by the source.
phpMyFAQ 3.2.5 before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an authorization bypass vulnerability in the user/request-removal API endpoint that lets authenticated users file account removal requests as other users. The ownership check calls getUserById() with the attacker-supplied userId on the session user object, so it compares the input against the target's own record. Attackers who know a victim's login name and email can submit that userId, loginname, and email, sending administrators a spoofed Remove User Request email. This may lead an admin to delete the victim's account and data.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com