CVE-2021-24355

Simple 301 Redirects 2.0.0 - 2.0.3 - Authenticated Wildcard Activation and Retrieval

2021-05-26 00:00
Chloe Chamberland

At a glance

CVE-2021-24355 is a medium-severity Improper Access Control vulnerability in the Simple 301 Redirects By BetterLinks WordPress plugin, affecting versions 2.0.0 – 2.0.3. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires an authenticated account. The issue is fixed in version 2.0.4; sites on affected versions should update now. Disclosed May 2021, reported by Chloe Chamberland.

Vulnerability Overview

In the Simple 301 Redirects by BetterLinks WordPress plugin before 2.0.4, the lack of capability checks and insufficient nonce check on the AJAX actions, simple301redirects/admin/get_wildcard and simple301redirects/admin/wildcard, made it possible for authenticated users to retrieve and update the wildcard value for redirects.

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-284: Improper Access Control

Reaching this weakness in Simple 301 Redirects By BetterLinks 2.0.0 – 2.0.3 takes any authenticated account. Improper access control means the code decides what a caller may do using something other than their actual permissions, so the decision can be wrong without any check appearing to be missing.

Whoever can shape the request decides the answer, so the protected action runs for callers the code never meant to allow. For Simple 301 Redirects By BetterLinks the fix is 2.0.4: builds 2.0.0 – 2.0.3 are affected, anything from 2.0.4 onward is not.

Remediation

Update to version 2.0.4, 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: Simple 301 Redirects By BetterLinks 2.0.4 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