Advisory

GHSA-9wj2-4hcm-r74j

Also known as: CVE-2025-59943

Summary

phpMyFAQ duplicate email registration allows multiple accounts with the same email

Details

Summary
phpMyFAQ does not enforce uniqueness of email addresses during user registration. This allows multiple distinct accounts to be created with the same email. Because email is often used as an identifier for password resets, notifications, and administrative actions, this flaw can cause account ambiguity and, in certain configurations, may lead to privilege escalation or account takeover.

Details
An account management logic flaw in phpMyFAQ allows attackers to register multiple accounts under the same email address. If email is used for password reset or administrative flows, this may result in account takeover, loss of accountability, and abuse of business logic.
PoC

1.Register a user with email [email protected]
2.Register another user with the same email.
3.Both accounts appear in /admin/?action=user&user_action=listallusers.
<img width="1150" height="628" alt="image" src="https://github.com/user-attachments/assets/8c19f01a-e897-4ca7-b3f8-fcf83e6ff952" />

Impact

-Data integrity loss: Multiple accounts mapped to one email break auditability.
-Password reset ambiguity: If reset flow relies on email only, attackers can target or take over accounts.
-Privilege escalation: If one account with the same email has admin privileges, an attacker controlling the email may escalate.
-Spam / DoS: Attackers can mass-register accounts with a single email to pollute the system.

This is a business logic / authentication vulnerability. Impacted users are anyone relying on phpMyFAQ’s account system where email is assumed to be unique.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-10-03 14:52 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

thorsten/phpmyfaq

Packagist · All systems

Affected

  • introduced 4.0.7, fixed 4.0.13 (ecosystem)

Fixed versions

4.0.13

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences