/

CVE-2026-124432

Severity:

HIGH RISK

(7.3)

Account Enumeration (CWE-204) in phpMyFAQ WebAuthn

CVE-2026-124432

Deferred

Vulnerability type

Category:

Account Enumeration

CWE:

CWE-204

Impact:

Account and passkey credential identifier disclosure

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

phpMyFAQ's unauthenticated WebAuthn login preparation endpoint can reveal whether an account has registered a passkey. By comparing returned credential IDs across requests, an attacker may identify registered accounts and learn their stored credential IDs.

Affected context

The issue affects phpMyFAQ 4.1.9 before 4.1.11 and 4.2.0 pre-releases before 4.2.0-beta.3. It occurs in the unauthenticated POST /api/webauthn/prepare-login endpoint, which returns stable stored credential IDs for passkey-registered accounts and a time-derived fallback ID otherwise. The difference can expose account registration status when the endpoint is reachable and requests are not effectively rate-limited.

Exploit preconditions

  • Attack surface: The WebAuthn login preparation API endpoint.
  • Required access: No authentication is required; the endpoint must be reachable by the requester.
  • Trigger point: Submit login preparation requests and compare the returned allowCredentials IDs, including across requests more than one second apart.
  • Why exploitation is possible: Registered accounts receive stable stored credential IDs, while other accounts receive a time-derived fallback ID; the endpoint does not rate-limit requests.

Why this happens

The endpoint produces observably different responses depending on whether an account has a registered passkey. Stable credential identifiers for registered accounts contrast with time-derived fallback identifiers, allowing an unauthenticated requester to infer account state. This is an observable response discrepancy, mapped to CWE-204: Observable Response Discrepancy.

Potential impact

  • Attackers may determine which accounts have registered passkeys.
  • Attackers could collect credential IDs associated with passkey-registered accounts.
  • The disclosed information may support targeted phishing or other follow-on attacks.

General mitigation guidance

Common defensive patterns include making account-dependent responses indistinguishable to unauthenticated users and avoiding disclosure of stored credential identifiers before authentication. Apply effective rate limits and abuse controls to login preparation endpoints, reduce the amount of account-specific information exposed, and ensure WebAuthn credentials are used only within appropriately verified authentication flows. Keep endpoint access and related services limited to the privileges and data they need.

How teams detect issues like this

  • Review authentication endpoints for response differences that reveal whether an account or credential exists.
  • Use static analysis and code review to identify account-dependent response paths and direct exposure of stored credential identifiers.
  • Test endpoint behavior with registered and unregistered accounts, including repeated requests, and verify that responses do not provide a reliable distinction.
  • Enforce API policies for authentication endpoints, including rate limits, abuse monitoring, and alerts for repeated enumeration-like requests.

Sources

SourceLink
github.comgithub.com/thorsten/phpMyFAQ/security/advisories/GHSA-2rvx-pqfw-q35r
vulncheck.comvulncheck.com/advisories/phpmyfaq-before-4.1.11-and-4.2.0-beta.3-account-enumeration-via-webauthn-prepare-login

Frequently asked

questions

It can be exploited by an unauthenticated requester if the WebAuthn preparation endpoint is reachable. It does not, by itself, provide account access.

No account or authentication is required. The attacker needs to send requests to the endpoint and compare the returned credential identifiers.

Avoid returning account-dependent identifiers or responses to unauthenticated callers. Make outcomes indistinguishable where possible and apply rate limiting and abuse controls.

Review authentication APIs for observable differences tied to account existence, test responses for registered and unregistered accounts, and enforce policies that limit repeated enumeration attempts.

Find out what's already
exploitable in your codebase.