CVE-2015-4062

NewStatPress <= 0.9.8 - Authenticated SQL Injection

2015-05-25 00:00
Adrián M. F.

Strategic Overview

Status
Patched in 0.9.9
Affected Plugin
NewStatPress
Affected Version
<= 0.9.8
CVSS
8.8High
Weakness type
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE
CVE-2015-4062
View all NewStatPress vulnerabilities

At a glance

CVE-2015-4062 is a high-severity Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in the NewStatPress WordPress plugin, affecting versions <= 0.9.8. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account. The issue is fixed in version 0.9.9; sites on affected versions should update now. Disclosed May 2015, reported by Adrián M. F..

Vulnerability Overview

SQL injection vulnerability in includes/nsp_search.php in the NewStatPress plugin before 0.9.9 for WordPress allows remote authenticated users to execute arbitrary SQL commands via the where1 parameter in the nsp_search page to wp-admin/admin.php.

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. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Reaching this weakness in NewStatPress <= 0.9.8 takes any authenticated account. SQL injection happens when request data is concatenated into a query instead of being bound as a parameter, letting an attacker change the structure of the statement rather than just its values.

A working injection can read any table the database user can see, which on a WordPress install means user records, password hashes and session or API secrets stored in options. For NewStatPress the fix is 0.9.9: builds <= 0.9.8 are affected, anything from 0.9.9 onward is not.

Remediation

Update to version 0.9.9, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to NewStatPress: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: NewStatPress 0.9.9 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