CVE-2022-0229

miniOrange's Google Authenticator <= 5.4.52 - Unauthenticated Arbitrary Options Deletion

2022-02-28 00:00
Krzysztof Zając

At a glance

CVE-2022-0229 is a high-severity Missing Authorization vulnerability in the miniOrange 2FA WordPress plugin, affecting versions <= 5.4.52. It carries a CVSS score of 8.1 (reachable over the network; low attack complexity; high integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 5.5; sites on affected versions should update now. Disclosed February 2022, reported by Krzysztof Zając.

Vulnerability Overview

The miniOrange's Google Authenticator WordPress plugin before 5.5 does not have proper authorisation and CSRF checks when handling the reconfigureMethod, and does not validate the parameters passed to it properly. As a result, unauthenticated users could delete arbitrary options from the blog, making it unusable.

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. A successful exploit has high impact on integrity, availability.

CWE-862: Missing Authorization

Reaching this weakness in miniOrange 2FA <= 5.4.52 takes no account at all. 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 miniOrange 2FA the fix is 5.5: builds <= 5.4.52 are affected, anything from 5.5 onward is not.

Remediation

Update to version 5.5, or a newer patched version

How does WordSec protect against this?

This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: miniOrange 2FA 5.5 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

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