Multiple directory traversal vulnerabilities in freePHPgallery 0.6 allow remote attackers to include and execute arbitrary local files via a .. (dot dot) in the lang cookie to (1) comment.php, (2) index.php, and (3) show.php.
https://www.exploit-db.com/exploits/5124
http://www.vupen.com/english/advisories/2008/0589
http://www.securityfocus.com/bid/27806