Gallery 2.2.6 is now available for download. This release fixes critical security issues, no new features have been added. Users of all previous Gallery 2 versions are strongly encouraged to upgrade to version 2.2.6 as soon as possible! The Gallery team would like to thank Alex Ustinov and Hanno Boeck for reporting the security issues through the right channels and will reward them with a well deserved security bounty
Since 2.2.6 is a security release, it shares the same installation requirements as 2.2.5. If you haven't upgraded to 2.2.x yet, please review the Gallery 2.2 release notes for highlights of changes and the requirements. Read on for more details and upgrade instructions.
Upgrading Instructions
Upgrading is quick and easy
- Users of Gallery 2.1 or earlier should review release notes for requirement changes and update all application files.
- Users of Gallery 2.2 or later (2.2.1, 2.2.2, 2.2.3, 2.2.4 or 2.2.5) can use an update file to upgrade specific core files and then upgrade the affected modules via Downloadable Plugins.
Regardless of your Gallery's version, review the upgrading instructions for complete details.
Security Vulnerabilities
Gallery 2.2.6 addresses the following security vulnerabilities:
-
Arbitrary file disclosure through archive upload module - Users with "add item" permission could retrieve any file on the server that is owned by the web server account. The problem is caused by incorrect handling of ZIP archives that contain symbolic links.
The Gallery team would like to thank Alex Ustinov for bringing this issue to our attention.
-
Insecure cookies over HTTPS - When accessing Gallery over HTTPS, cookies were missing the "secure" flag, leaving the connection vulnerable to cookie sniffing attacks.
The Gallery team would like to thank Hanno Boeck for bringing this issue to our attention.
-
XSS through malicious Flash files - Flash animations that are embedded in Gallery are no longer allowed to interact with the embedding page and are no longer allowed to open network connections.
While this protects visitors of your Gallery from potentially malicious Flash animations, the Gallery team would like to use this opportunity to remind you that it is generally highly recommended to only allow trusted users to add any files to your Gallery.