Thorsten phpMyFAQ
phpMyFAQ 3.2.0 before 4.0.0 and 4.0.2 before 4.2.0-beta Account Takeover via Entra ID preferred_username
phpMyFAQ 3.2.0 before 4.0.0 and 4.0.2 before 4.2.0-beta contains an authentication bypass in its Microsoft Entra ID login flow, which links users by the mutable preferred_username claim and whose AuthEntraId::create() ignores the duplicate-login exception while continuing with the existing local account. Attackers controlling an Entra identity in the configured tenant with a matching preferred_username can take over that local account, including super-admin accounts.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.2.0, < 4.0.0
Fixed in 4.0.0
- >= 4.0.2, < 4.2.0-beta
Fixed in 4.2.0-beta
Mitigation
Upgrade phpMyFAQ to 4.0.0 or later.
Upgrade phpMyFAQ to 4.2.0-beta or later.
References
- Vendor advisory github.com/thorsten/phpMyFAQ/security/advisori…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.