WP Statistics Plugin for WordPress < 12.0.8 'functions.php' wp_statistics_searchengine_query() SQLi

high Nessus Plugin ID 101302

Synopsis

The remote web server hosts a PHP script that is affected by a remote SQL injection vulnerability.

Description

According to its self-reported version and configuration, the WP Statistics Plugin for WordPress running on the remote web server is prior to 12.0.8 and user registration is enabled. It is, therefore, affected by a SQL injection vulnerability due to improper sanitization of user-supplied input to the wp_statistics_searchengine_query() function in the functions.php script. An authenticated, remote attacker can exploit this issue to inject or manipulate SQL queries in the back-end database, resulting in the manipulation or disclosure of arbitrary data.

Solution

Upgrade the Statistics Plugin for WordPress to version 12.0.8 or later.

See Also

http://www.nessus.org/u?bd6629cd

Plugin Details

Severity: High

ID: 101302

File Name: wordpress_wp_statistics_12_0_8.nasl

Version: 1.4

Type: remote

Family: CGI abuses

Published: 7/7/2017

Updated: 8/8/2018

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.4

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:wordpress:wordpress

Required KB Items: installed_sw/WordPress, www/PHP

Patch Publication Date: 6/29/2017

Vulnerability Publication Date: 6/30/2017