Total Tests:

Cross-site Scripting (XSS) Vulnerabilities in Rating-Widget

Advisory ID:HTB22889
Product:Rating-Widget
Vendor:Vova Feldman
Vulnerable Versions:1.3.1 and probably prior
Tested Version:1.3.1
Advisory Publication:March 3, 2011 [without technical details]
Vendor Notification:March 3, 2011
Public Disclosure:March 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 Rating-Widget WordPress plugin which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in Rating-Widget
1.1 The vulnerability exists due to input sanitation error in the "selected_key" parameter in wp-content/plugins/rating-widget/view/availability_options.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/rating-widget/view/availability_options.php ?selected_key=%3Cscript% 3Ealert%28%22XSS%22%29;%3C/script%3E
1.2 The vulnerability exists due to input sanitation error in the "vars" parameter in wp-content/plugins/rating-widget/view/rating.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/rating-widget/view/rating.php?vars[type]=%2 2%3E%3Cscript%3Ealert%28 document.cookie%29%3C/script%3E
1.3 The vulnerability exists due to input sanitation error in the "rw_form_hidden_field_name" parameter in wp-content/plugins/rating-widget/view/save.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/rating-widget/view/save.php?rw_form_hidden_ field_name=%22%3E%3Cscri pt%3Ealert%28%22XSS%22%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 Rating-Widget version 1.3.9


References:
[1] High-Tech Bridge Advisory HTB22889 - https://www.immuniweb.com/advisory/HTB22889 - Cross-site Scripting (XSS) Vulnerabilities in Rating-Widget
[2] Rating-Widget - rating-widget.com- Rating-Widget Ratings plugin allows you to create and manage ratings from within your WordPress 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