Skip to content
Access control Disclosed report Beginner CVE-2023-2429

phpMyFAQ Improper Access Control vulnerability

phpMyFAQ before 3.1.13 failed to validate email addresses when a user updated their profile, so an attacker could set their email to one already registered to another user, including an administrator. The attacker could then request removal of that user, causing data and access loss.

thorsten/phpmyfaq

Originally disclosed on huntr

phpMyFAQ prior to version 3.1.13 does not properly validate email addresses when updating user profiles. This vulnerability allows an attacker to manipulate their email address and change it to another email address that is already registered in the system, including email addresses belonging to other users such as the administrator. Once the attacker has control of the other user's email address, they can request to remove the user from the system, leading to a loss of data and access.

From the GitHub Advisory Database (GHSA-r69v-q48g-3966, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could take over another user's email identity in the system and request that user's removal, leading to loss of data and access.

What the attacker needed

A user account; ability to update profile

The fix

The issue was fixed in version 3.1.13 by properly validating email addresses during profile updates.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you change your profile, the site should check that the new email is not already used by someone else. Here it did not, so a user could take another person's email address in the system. That let them trigger a request to delete the other account.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from thorsten/phpmyfaq

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.