Gallery is an open source web based photo album organizer. The version 2.x (“G2”) is a newly released complete rewrite of the application. Impact A vulnerability has been discovered in gallery, which allows remote users unauthorized access to files on the webserver. Details
A remote user accessing gallery over the web may use specially crafted HTTP parameters to access arbitrary files located on the webserver. All files readable by the webserver process are subject to disclosure. The vulnerability is *not* restricted to the webserver's document root but extends to the whole server file space. The vulnerabilty may be used by any anonymous user, there is no login to the application required. Exploit
The vulnerability may be exploited by accessing an URL like this:
http://www.example.com/gallery?g2_itemId=/../../../../../../../../../../../etc/aliases%00
Upgrade to version 2.0.1 as soon as possible. The updated version is available for download now.