CVE-2021-39331

YITH Easy Login & Register Popup for WooCommerce <= 1.8.0 - Authentication Bypass via Password Reset

2021-09-20 00:00
Anonymous

Strategic Overview

Status
Patched in 1.8.1
Affected Version
<= 1.8.0
CVSS
9.8Critical
Weakness type
CWE-639 · Authorization Bypass Through User-Controlled Key
CVE
CVE-2021-39331
View all YITH Easy Login & Register Popup for WooCommerce vulnerabilities

At a glance

CVE-2021-39331 is a critical-severity Authorization Bypass Through User-Controlled Key vulnerability in the YITH Easy Login & Register Popup for WooCommerce WordPress plugin, affecting versions <= 1.8.0. It carries a CVSS score of 9.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 1.8.1; sites on affected versions should update now. Disclosed September 2021.

Vulnerability Overview

The YITH Easy Login & Register Popup for WooCommerce plugin for WordPress is vulnerable to authorization bypass via password reset in versions up to, and including, 1.8.0. This is due to the plugin failing to properly validate if a user is authorized to perform a password reset for the supplied user_login via the yith_welrp_form_action AJAX. This makes it possible for unauthenticated users to reset administrators password and then log in to a site using that account.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-639: Authorization Bypass Through User-Controlled Key

Reaching this weakness in YITH Easy Login & Register Popup for WooCommerce <= 1.8.0 takes a caller who can reach the endpoint. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.

Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For YITH Easy Login & Register Popup for WooCommerce the fix is 1.8.1: builds <= 1.8.0 are affected, anything from 1.8.1 onward is not.

Remediation

Update to version 1.8.1, or a newer patched version

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: YITH Easy Login & Register Popup for WooCommerce 1.8.1 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C