CVE-2019-18668

Currency Switcher <= 2.11.1 - Authorization Bypass

2019-11-02 00:00
Luka Sikic

Strategic Overview

Status
Patched in 2.11.2
Affected Version
< 2.11.2
CVSS
6.5Medium
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2019-18668
View all Currency Switcher for WooCommerce vulnerabilities

At a glance

CVE-2019-18668 is a medium-severity Missing Authorization vulnerability in the Currency Switcher for WooCommerce WordPress plugin, affecting versions < 2.11.2. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high integrity impact). The issue is fixed in version 2.11.2; sites on affected versions should update now. Disclosed November 2019, reported by Luka Sikic.

Vulnerability Overview

An issue was discovered in the Currency Switcher addon before 2.11.2 for WooCommerce if a user provides a currency that was not added by the administrator. In this case, even though the currency does not exist, it will be selected, but a price amount will fall back to the default currency. This means that if an attacker provides a currency that does not exist and is worth less than this default, the attacker can eventually purchase an item for a significantly cheaper price.

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 interaction from a victim user. A successful exploit has high impact on integrity.

CWE-862: Missing Authorization

Reaching this weakness in Currency Switcher for WooCommerce < 2.11.2 takes a caller who can reach the endpoint. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.

Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Currency Switcher for WooCommerce the fix is 2.11.2: builds < 2.11.2 are affected, anything from 2.11.2 onward is not.

Remediation

Update to version 2.11.2, 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: Currency Switcher for WooCommerce 2.11.2 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Other vulnerabilities in Currency Switcher for WooCommerce

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