modules/gallery/helpers/data_rest.php in Gallery 3 before 3.0.9 allows remote attackers to bypass intended access restrictions and obtain sensitive information (image files) via the "full" string in the size parameter.
https://github.com/gallery/gallery3/commit/cbbcf1b4791762d7da0ea7b6c4f4b551a4d9caed
https://bugzilla.redhat.com/show_bug.cgi?id=981198
http://www.openwall.com/lists/oss-security/2013/07/05/3
http://www.openwall.com/lists/oss-security/2013/07/04/11