CVE-2026-8994
Vulnérabilité élevée dans Login with NEAR (learnnearclub)
Description
The Login with NEAR plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 0.3.3. The `ajaxLoginWithNear()` function — registered as a `wp_ajax_nopriv` action and therefore reachable by unauthenticated users — accepts an attacker-supplied `account` POST parameter and issues a valid WordPress authentication cookie based solely on a substring check for `.near`, with no nonce verification, cryptographic signature validation, challenge-response exchange, or any proof that the requester controls the corresponding NEAR wallet. This makes it possible for unauthenticated attackers to log in as any existing WordPress user, including administrators, whose email address matches the deterministic `<account>@near.org` pattern derived from the supplied `account` value. If no matching user exists, the handler automatically creates and authenticates a new WordPress account for the attacker-controlled identifier, providing a further avenue for unauthorized account creation.
Gravité et risque d'exploitation
CVE-2026-8994 obtient un score CVSS de 8.1/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.67 %, ce qui la place devant 51.2 % des CVE référencées.
Que faire ?
- Vérifiez si Login with NEAR (versions <=0.3.3, 0) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f1eacb72-df11-4a3b-9064-f8f776f3522b?source=cve
- https://plugins.trac.wordpress.org/browser/near-login/trunk/Controllers/UserLoginController.php#L46
- https://plugins.trac.wordpress.org/browser/near-login/trunk/Controllers/UserLoginController.php#L29
- https://plugins.trac.wordpress.org/browser/near-login/trunk/Controllers/UserLoginController.php#L16
- https://plugins.trac.wordpress.org/browser/near-login/trunk/Controllers/UserLoginController.php#L76
