Directory traversal vulnerability in index.php in Fritz Berger yet another php photo album - next generation (yappa-ng) 2.3.2 and possibly other versions through 2.3.3-beta0, when magic_quotes_gpc is disabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the album parameter.
https://www.exploit-db.com/exploits/6788
https://exchange.xforce.ibmcloud.com/vulnerabilities/45965
http://www.securityfocus.com/bid/31828