Title: ====== Google Analytics v4.2.4 Wordpress - Web Vulnerabilities Date: ===== 2012-08-22 References: =========== http://www.vulnerability-lab.com/get_content.php?id=692 VL-ID: ===== 692 Common Vulnerability Scoring System: ==================================== 3.5 Introduction: ============= The Google Analytics for WordPress plugin allows you to track your blog easily and with lots of metadata. Full list of features: Simple installation through integration with Google Analytics API: authenticate, select the site you want to track and you re done. This plugin uses the asynchronous Google Analytics tracking code, the fastest and most reliable tracking code Google Analytics offers. Option to manually place the tracking code in another location.Automatic Google Analytics site speed tracking.Outbound link & downloads tracking.Configurable options to track outbound links either as pageviews.Option to track just downloads as pageviews in Google Analytics. Allows usage of custom variables in Google Analytics to track meta data on pages. Support for the following custom variables: Author Single category and / or multiple categories Post type (especially useful if you use custom post types) Logged in users Publication Year Tags Possibility to ignore any user level and up, so all editors and higher for instance. Easily connect your Google AdSense and Google Analytics accounts. Option to tag links with Google Analytics campaign tracking, with the option to use hashes (#). Option anonymize IP s, for use in countries like Germany. Full debug mode, including Firebug lite and ga_debug.js for debugging Google Analytics issues. Allow local hosting of ga.js file. Tracking of search engines not included in Google Analytics default tracking. Tracking of login and registration forms. (Copy of the Vendor Homepage: http://wordpress.org/extend/plugins/google-analytics-for-wordpress/ ) Abstract: ========= The Vulnerability Laboratory Research Team discovered multiple persistent web vulnerabilities in the Google Analytics v4.2.4 Wordpress Application Addon. Report-Timeline: ================ 2012-08-21: Public Disclosure Status: ======== Published Exploitation-Technique: ======================= Remote Severity: ========= Medium Details: ======== Multiple persistent input validation vulnerabilities are detected in the Google Analytics v4.2.4 Wordpress Application Addon. The vulnerability allows remote attackers to hijack website customer, moderator or admin sessions with low or medium required user inter action. The bugs are located on server side in options-general.php page with the bound vulnerable label to use, internal links to track as outbound, extensions of files to track as downloads, subdomain tracking, cross-domain tracking, primary domain and custom code parameters. Successful exploitation can result in wordpress application account steal, client side phishing & server-side content request manipulation. Exploitation requires low or medium user inter action. Vulnerable Module(s): [+] Options General Vulnerable Parameter(s): [+] Label to use [+] Primary Domain and Custom Code [+] Internal links to track as outbound [+] Extensions of files to track as downloads [+] Subdomain Tracking [+] Cross-Domain Tracking Proof of Concept: ================= The persistent vulnerability can be exploited by remote attackers with low required user inter action & low privileged application user account. For demonstration or reproduce ... Inject the following example string to the application input (persistent) or parameter (client side) String: >" Review: Options General Internal links to track as outbound <[PERSISTENT INJECTED SCRIPT CODE!]")' <"="">If you Label to use If you want to track all internal links that begin with /out/, enter /out/ in the box above. If you have multiple prefixes you can separate them with comma's: /out/,/recommends/ <[PERSISTENT INJECTED SCRIPT CODE!])' <"=""> <[PERSISTENT INJECTED SCRIPT CODE!]")' <"="">