Total Tests:

Multiple Vulnerabilities in Comment Rating

Advisory ID:HTB22841
Product:Comment Rating wordpress plugin
Vendor:Bob King
Vulnerable Versions:2.9.23 and probably prior
Tested Version:2.9.23
Advisory Publication:February 8, 2011 [without technical details]
Vendor Notification:February 8, 2011
Public Disclosure:February 22, 2011
Latest Update:February 15, 2011
Vulnerability Type:SQL Injection [CWE-89]
Information Exposure Through Externally-generated Error Message [CWE-211]
Risk Level:High
CVSSv2 Base Scores:7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
5 (AV:N/AC:L/Au:N/C:P/I:N/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 Comment Rating which could be exploited to perform SQL injection attacks and gain access to sensitive information.

1) SQL injection vulnerabilities in Comment Rating
The vulnerability exists due to input sanitation error in the "id" parameter in wp-content/plugins/comment-rating/ck-processkarma.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/comment-rating/ck-processkarma.php?path=1&a ction=1&id=1%20and%201=2 %20--%20

2) Installation path disclosure weakness in Comment Rating
The weakness exists due to application reveals the full path to installation directory in an error message. A remote attacker can directly access the wp-content/plugins/comment-rating/comment-rating-options.php script and gain knowledge of the web root directory and other potentially sensitive information.
Exploitation example:
http://[host]/wp-content/plugins/comment-rating/comment-rating-options.php

How to Detect SQL Injection 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 version 2.9.24.


References:
[1] High-Tech Bridge Advisory HTB22841 - https://www.immuniweb.com/advisory/HTB22841 - Multiple Vulnerabilities in Comment Rating
[2] Comment Rating - wealthynetizen.com - Comment Rating is a WordPress plugin for displaying comments ratings.
[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