CVE-2023-28154

webpack JS package <= 5.75.0 - Sandbox Bypass

2023-04-11 00:00
Anonymous

Strategic Overview

Status
Patched in 4.5.1
Affected Plugin
ElasticPress
Affected Version
<= 4.5.0
CVSS
8.3High
Weakness type
CWE-269 · Improper Privilege Management
CVE
CVE-2023-28154
View all ElasticPress vulnerabilities

At a glance

CVE-2023-28154 is a high-severity Improper Privilege Management vulnerability in the ElasticPress WordPress plugin, affecting versions <= 4.5.0. It carries a CVSS score of 8.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 4.5.1; sites on affected versions should update now. Disclosed April 2023.

Vulnerability Overview

The JS package webpack is vulnerable to Sandbox Bypass in versions up to, and including, 5.75.0 due to mishandling magic comments. Some WordPress plugins and themes use this dependency, however, are not vulnerable to exploitation.

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.

CWE-269: Improper Privilege Management

Reaching this weakness in ElasticPress <= 4.5.0 takes a caller who can reach the endpoint. Improper privilege management means the code lets an account end up with capabilities its role should not have.

It converts a low-privileged account into an administrative one, which makes every other restriction on the site irrelevant. For ElasticPress the fix is 4.5.1: builds <= 4.5.0 are affected, anything from 4.5.1 onward is not.

Remediation

Update to version 4.5.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: ElasticPress 4.5.1 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