Simple one-file Gallery - 'gallery.php?f' Cross-Site Scripting

EDB-ID:

29643




Platform:

PHP

Date:

2007-02-23


source: https://www.securityfocus.com/bid/22700/info
 
Simple one-file gallery is prone to multiple input-validation vulnerabilities, including a local file-include issue and a cross-site scripting issue.
 
An attacker can exploit these issues to steal cookie-based authentication credentials and to view and execute arbitrary local files within the context of the affected webserver. Other attacks are also possible.
 
http://www.example.com/gallery.php?f=[xss]