class Wpxf::Exploit::CharityThemeShellUpload

Public Class Methods

new() click to toggle source
# File lib/wpxf/modules/exploit/shell/charity_theme_shell_upload.rb, line 9
def initialize
  super

  update_info(
    name: 'Charity Theme Shell Upload',
    desc: 'This module exploits a file upload vulnerability in all versions '\
          'of the Charity theme found in the upload_file.php script '\
          'which contains no session or file validation. It allows '\
          'unauthenticated users to upload files of any type and '\
          'subsequently execute PHP scripts in the context of the '\
          'web server.',
    author: [
      'Divya',     # Vulnerability disclosure
      'rastating'  # WPXF module
    ],
    references: [
      ['EDB', '36611']
    ],
    date: 'April 02 2015'
  )
end

Public Instance Methods

check() click to toggle source
# File lib/wpxf/modules/exploit/shell/charity_theme_shell_upload.rb, line 31
def check
  check_theme_version_from_readme('charity')
end
plugin_url() click to toggle source
# File lib/wpxf/modules/exploit/shell/charity_theme_shell_upload.rb, line 35
def plugin_url
  normalize_uri(wordpress_url_themes, 'charity')
end