Directory traversal vulnerability in the session handling class (GallerySession.class) in Gallery 2 up to 2.0.2 allows remote attackers to access and delete files by specifying the session in a cookie, which is used in constructing file paths before the session value is sanitized.
https://exchange.xforce.ibmcloud.com/vulnerabilities/25118
http://www.vupen.com/english/advisories/2006/0813
http://www.securityfocus.com/bid/16948
http://www.gulftech.org/?node=research&article_id=00106-03022006
http://securitytracker.com/id?1015717
http://secunia.com/advisories/19104
http://gallery.menalto.com/gallery_2.0.3_released
http://archives.neohapsis.com/archives/bugtraq/2006-02/0621.html