Total Tests:

SQL Injection Vulnerability in cdnvote

Advisory ID:HTB22845
Product:cdnvote
Vendor:Nakahira
Vulnerable Versions:0.4.1 and probably prior
Tested Version:0.4.1
Advisory Publication:February 8, 2011 [without technical details]
Vendor Notification:February 8, 2011
Public Disclosure:February 22, 2011
Vulnerability Type:SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Score:7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
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 vulnerability in cdnvote WordPress plugin which could be exploited to perform SQL injection attacks.

1) SQL injection vulnerability in cdnvote
The vulnerability exists due to input sanitation errors in the "cdnvote_point" parameter in wp-content/plugins/cdnvote/cdnvote-post.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:
<form action="http://[host]/wp-content/plugins/cdnvote/cdnvote-post.php" method="post" name="main" >
<input type="hidden" name="cdnvote_post_id" value="SQL_CODE_HERE" />
<input type="hidden" name="cdnvote_point" value="OR_HERE" />
<input type="submit" value="Register" name="submit" />
</form>

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 the version 0.4.2

More information:
http://www.wpsecure.net/2011/02/cdnvote-plugin/
http://plugins.trac.wordpress.org/changeset/350873/cdnvote/trunk/cdnvote-post.php


References:
[1] High-Tech Bridge Advisory HTB22845 - https://www.immuniweb.com/advisory/HTB22845 - SQL Injection Vulnerability in cdnvote
[2] cdnvote - www.crossdrive.net – cdnvote is a WordPress plugin for creating polls.
[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