CVE-2011-4957

WordPress Core < 3.1.1 - Denial of Service

2011-04-05 00:00
Anonymous

Strategic Overview

Status
Patched in 3.1.1
Affected Core
WordPress 3.1
Affected Version
< 3.1.1
CVSS
7.5High
Weakness type
CWE-400 · Uncontrolled Resource Consumption
CVE
CVE-2011-4957
View all WordPress 3.1 vulnerabilities

At a glance

CVE-2011-4957 is a high-severity Uncontrolled Resource Consumption vulnerability in the WordPress 3.1 WordPress release line, affecting < 3.1.1. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high availability impact). Exploitation requires no authentication. The issue is fixed in version 3.1.1; sites on affected versions should update now. Disclosed April 2011.

Vulnerability Overview

The make_clickable function in wp-includes/formatting.php in WordPress before 3.1.1 does not properly check URLs before passing them to the PCRE library, which allows remote attackers to cause a denial of service (crash) via a comment with a crafted URL that triggers many recursive calls.

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

CWE-400: Uncontrolled Resource Consumption

Reaching this weakness in WordPress 3.1 < 3.1.1 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 WordPress 3.1 the fix is 3.1.1: builds < 3.1.1 are affected, anything from 3.1.1 onward is not.

Remediation

Update to version 3.1.1, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to WordPress 3.1: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: updating to 3.1.1 is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

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