GHSA-9wj2-4hcm-r74j

Suggest an improvement
Source
https://github.com/advisories/GHSA-9wj2-4hcm-r74j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-9wj2-4hcm-r74j/GHSA-9wj2-4hcm-r74j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9wj2-4hcm-r74j
Aliases
Published
2025-10-03T14:52:33Z
Modified
2025-10-15T07:43:54.852340Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
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 test@example.com 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.

Database specific
{
    "severity": "HIGH",
    "nvd_published_at": "2025-10-03T21:15:34Z",
    "github_reviewed_at": "2025-10-03T14:52:33Z",
    "cwe_ids": [
        "CWE-284",
        "CWE-286"
    ],
    "github_reviewed": true
}
References

Affected packages

Packagist / thorsten/phpmyfaq

Package

Name
thorsten/phpmyfaq
Purl
pkg:composer/thorsten/phpmyfaq

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.7
Fixed
4.0.13

Affected versions

4.*
4.0.7
4.0.8
4.0.9
4.0.10
4.0.11
4.0.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-9wj2-4hcm-r74j/GHSA-9wj2-4hcm-r74j.json"