CVE-2022-25858

terser (JS Package) < 5.14.2 - Denial of Service

2022-07-14 00:00
Anonymous

Strategic Overview

Status
Patched in 1.2.0
Affected Plugin
Retro Winamp Block
Affected Version
<= 1.1.0
CVSS
3.7Low
Weakness type
CWE-400 · Uncontrolled Resource Consumption
CVE
CVE-2022-25858
View all Retro Winamp Block vulnerabilities

At a glance

CVE-2022-25858 is a low-severity Uncontrolled Resource Consumption vulnerability in the Retro Winamp Block WordPress plugin, affecting versions <= 1.1.0. It carries a CVSS score of 3.7 (reachable over the network). Exploitation requires no authentication. The issue is fixed in version 1.2.0; sites on affected versions should update now. Disclosed July 2022.

Vulnerability Overview

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions. 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, and no privileges on the target site, and no interaction from a victim user.

CWE-400: Uncontrolled Resource Consumption

Reaching this weakness in Retro Winamp Block <= 1.1.0 takes a caller who can reach the endpoint. Uncontrolled resource consumption means a request can make the server do an amount of work it never bounds, because the size or repetition of the job is taken from the request rather than capped by the code.

A single caller can hold PHP workers, database connections or disk open long enough to slow the site for everyone, without needing any account or any other flaw. For Retro Winamp Block the fix is 1.2.0: builds <= 1.1.0 are affected, anything from 1.2.0 onward is not.

Remediation

Update to version 1.2.0, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to Retro Winamp Block: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Retro Winamp Block 1.2.0 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

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