Privilege escalation from user with "add user" to super admin in thorsten/phpmyfaq


Reported on

Feb 14th 2023


Before I created this submission, I read this report: I was afraid that my submission would be a duplicate of that. After reading it carefully, I decided to make a report because my report is not exploiting the backup file feature, but it pure from an admin mistake.

Proof of Concept

1. Login with user who have user right to add user
2.Login with user who can only add user
3.Add Super Admin

See somethings wrong? yups.

It's very funny that someone with only add user rights can make a super admin. It's like a lower role can elevate themselves to a higher role.


privilege escalation

We are processing your report and will contact the thorsten/phpmyfaq team within 24 hours. a year ago
a year ago


POC in Video >>>

thorsten/phpmyfaq maintainer has acknowledged this report a year ago
Thorsten Rinne validated this vulnerability a year ago
isdkrisna has been awarded the disclosure bounty
The fix bounty is now up for grabs
The researcher's credibility has increased: +7
Thorsten Rinne gave praise a year ago
You're right, there's a missing check
The researcher's credibility has slightly increased as a result of the maintainer's thanks: +1
Thorsten Rinne marked this as fixed in 3.1.12 with commit ae6c1d a year ago
Thorsten Rinne has been awarded the fix bounty
This vulnerability has now been published a year ago
to join this conversation