321soft PHP-Gallery 0.9 - 'index.php?path' Arbitrary Directory Listing

EDB-ID:

27803


Author:

d4igoro

Type:

webapps


Platform:

PHP

Date:

2006-05-03


source: https://www.securityfocus.com/bid/17812/info

PhP-Gallery is prone to an information-disclosure vulnerability and a cross-site scripting vulnerability. These issues are due to a failure in the application to properly sanitize user-supplied input. 

An attacker can exploit these vulnerabilities to retrieve arbitrary files from the vulnerable system in the context of the affected application or to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

http://www.example.com/index.php?path=/etc
http://www.example.com/index.ph?path=/tmp