Technical impact
The Qode Membership plugin for WordPress contains an authentication bypass that allows an unauthenticated attacker to obtain an account cookie and log in as any existing user. The flaw originates from a typographical error in the Facebook OAuth token verification guard within the qode_membership_login_user_from_social_network function. The guard references an undefined variable ($check_social_useqoder instead of $check_social_user), causing the empty() check to always return true. Consequently, the token verification code is bypassed and wp_set_auth_cookie() is executed without proper credential validation. An attacker only needs to provide a known or enumerable administrator username in the response[email] parameter; the fallback path in get_user_by('login', $email) resolves this to the matching account. This leads to immediate account takeover, including administrator privilege escalation. The vulnerability requires access to the qode_validate_facebook_login nonce, which is rendered on any public page containing the [qode_user_login] or [qode_user_register] shortcode, making it easily obtainable without prior authentication.
Affected Systems
WordPress sites that have installed the Qode Membership plugin version 2.0.6.2 or earlier are at risk. All users of the offending plugin should verify their current plugin version, as the vulnerability exists in all releases through and including 2.0.6.2. Sites running this plugin and exposing the relevant AJAX action qode_membership_check_facebook_user to attackers via the public web front‑end with the mentioned shortcodes are potentially exploit‑able. The vulnerability is limited to WordPress installations where the Qode Membership plugin is active.
Risk and Exploitability
The CVSS base score of 9.8 positions this flaw as a critical vulnerability. The EPSS score is currently unavailable, but the absence of a KEV listing does not diminish its severity; the flaw is easily exploited by accessing public pages that display the nonce and executing the AJAX request with a guessed administrator username. An attacker does not need to be authenticated or have privileged access to the server; the attack vector is remote over the web. The conditional bypass and lack of token validation make exploitation straightforward, raising the likelihood of real‑world attacks.