Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 8 min 130 bronnen 4 kritiek 61 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-12597

HIGH · 8.1 CVSS Gepubliceerd: CWE-287

Beschrijving NL

De LoginPress Pro-plug-in voor WordPress is kwetsbaar voor Authentication Bypass via de GitHub OAuth-callback in versies tot en met 6.2.3. De kwetsbaarheid bestaat in de loginpress_on_github_login() functie, die blindelings het eerste element (profiel[0]['email']) vertrouwt van de array die wordt geretourneerd door GitHub's /user/emails endpoint als een account-binding identifier zonder te verifiëren dat de e-mail een geverifieerde = == true status heeft. Dit maakt het mogelijk voor niet-geverifieerde aanvallers om in te loggen als elke bestaande WordPress-gebruiker, inclusief beheerders, door een niet-geverifieerd e-mailadres toe te voegen dat overeenkomt met een lokaal account aan hun GitHub-profiel en de OAuth-callback te activeren via een vervaardigde codeparameter — waardoor de plug-in get_user_aanroept door('e-mail', ...) en een geverifieerde sessie voor het gematchte account tot stand brengt. Praktische exploitatie is afhankelijk van GitHub die de aanvaller niet-geverifieerde e-mail terugstuurt naar index 0 van de reactie/user/emails, omdat GitHub meestal eerst prioriteit geeft aan het primaire geverifieerde adres; desalniettemin vormt de afwezigheid van een e-mailverificatiecontrole in de plug-in een fundamentele fout bij het omzeilen van de authenticatie.

Origineel (Engels) tonen

The LoginPress Pro plugin for WordPress is vulnerable to Authentication Bypass via the GitHub OAuth callback in versions up to, and including, 6.2.3. The vulnerability exists in the loginpress_on_github_login() function, which blindly trusts the first element (profile[0]['email']) of the array returned by GitHub's /user/emails endpoint as an account-binding identifier without verifying that the email carries a verified === true status. This makes it possible for unauthenticated attackers to log in as any existing WordPress user, including administrators, by adding an unverified email address matching a local account to their GitHub profile and triggering the OAuth callback via a crafted code parameter — causing the plugin to call get_user_by('email', ...) and establish an authenticated session for the matched account. Practical exploitation is conditional on GitHub returning the attacker-added unverified email at index 0 of the /user/emails response, as GitHub typically prioritizes the primary verified address first; nonetheless, the absence of any email verification check in the plugin constitutes a fundamental authentication bypass flaw.

References