CVE-2021-20867

Advanced Custom Fields <= 5.10 - Missing Authorization on Option Changes

2021-12-02 00:00
Keitaro Yamazaki

Strategic Overview

Status
Patched in 5.11
Affected Version
< 5.11
CVSS
4.3Medium
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2021-20867
View all Advanced Custom Fields (ACF®) vulnerabilities

At a glance

CVE-2021-20867 is a medium-severity Missing Authorization vulnerability in the Advanced Custom Fields (ACF®) WordPress plugin, affecting versions < 5.11. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). The root cause is a missing authorization check on a reachable function. The issue is fixed in version 5.11; sites on affected versions should update now. Disclosed December 2021, reported by Keitaro Yamazaki.

Vulnerability Overview

Advanced Custom Fields versions prior to 5.11 and Advanced Custom Fields Pro versions prior to 5.11 contain a missing authorization vulnerability in moving the field group which may allow a user to move the unauthorized field group via unspecified vectors.

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.

CWE-862: Missing Authorization

Reaching this weakness in Advanced Custom Fields (ACF®) < 5.11 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 Advanced Custom Fields (ACF®) the fix is 5.11: builds < 5.11 are affected, anything from 5.11 onward is not.

Remediation

Update to version 5.11, 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: Advanced Custom Fields (ACF®) 5.11 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