Just in time for the holidays, Gallery 2.2.4 is now available for download. This release fixes critical security issues, no new features have been added. Due to the severity of these issues users of all previous Gallery 2 versions are strongly encouraged to upgrade to version 2.2.4 as soon as possible! All issues addressed in this release were discovered through an extensive internal security audit.
Since 2.2.4 is a security release, it shares the same installation requirements as 2.2.3. 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 or 2.2.3) 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.4 addresses the following security vulnerabilities:
- Publish XP module - Fixed unauthorized album creation and file uploads.
- URL rewrite module - Fixed local file inclusion vulnerability in unsecured admin controller and information disclosure in hotlink protection.
- Core / add-item modules - Fixed Cross Site Scripting (XSS) vulnerabilities through malicious file names.
- Installation (Gallery application) - Update web-accessibility protection of the storage folder for Apache 2.2.
- Core (Gallery application) / MIME module - Fixed vulnerability in checks for disallowed file extensions in file uploads.
- Gallery Remote module - Added missing permissions checks for some GR commands.
- WebDAV module - Fixed Cross Site Scripting (XSS) vulnerability through HTTP PROPPATCH.
- WebDAV module - Fixed information (item data) disclosure in a WebDAV view.
- WebDAV module - Bug fix for directory listing issue (not security related).
- Comment module - Fixed information (item data) disclosure in comment views.
- Core module (Gallery application) - Improved resilience against item information disclosure attacks.
- Slideshow module - Fixed information (item data) disclosure in the slideshow.
- Print modules - Fixed information (item data) disclosure in several print modules.
- Core / print modules - Fixed arbitrary URL redirection (phishing attacks) in the core module and several print modules.
- WebCam module - Fixed proxied request weakness.
Lessons Learned
Gallery 2 has had an excellent security track record and the Gallery team continues to be committed to delivering a secure application. We are taking the following actions to improve our security audit process:
-
Allocating a larger budget for future external security audits to ensure that auditors gain a deeper understanding of the application to enable them to better identify issues.
-
Improving internal security review guidelines and checklists to ensure high standards in all code reviews, both internal and external.
-
Changing the API in the next major release of Gallery 2 to make it easier to write secure code.