Directory traversal vulnerability in gallery.php in XeroXer Simple one-file gallery allows remote attackers to read arbitrary files via a .. (dot dot) in the f parameter.
https://exchange.xforce.ibmcloud.com/vulnerabilities/32654
http://www.securityfocus.com/archive/1/461080/100/0/threaded