3.1.3 Upgrading from cpg1.4.0 or better to version cpg1.4.25• First, make a backup (dump) of your database.
• Backup your include/config.inc.php file, your anycontent.php file and your "albums" directory.
• Unpack the archive
• Except for the "albums" directory, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.
• Run the file "update.php" in the coppermine directory once in your browser (e.g.
http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.
• If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the theme-upgrade guide.
Please note: as there have been changes both in the coppermine files and the database from cpg1.4.0 or better to cpg1.4.25, users of older versions than cpg1.4.25 will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.
3.2 Why upgrade?There is a good reason for every new maintenance release: they are usually being packaged when a new bug or vulnerability is being discovered that is relevant in terms of security. As suggested above, there are several minor bugfixes that go into each new release as well, not only the one major bug or vulnerability that lead to the maintenance release. Therefor, it will not be enough to just fix the single vulnerability that has been the initial reason for a new package to be released. Instead, always upgrade to the most recent stable release as soon as it has been announced.
• cpg1.4.20 Fixed vulnerability that allows (if unpatched) the uploading and execution of remote code (milw0rm exploit 7909)
• cpg1.4.21 Fixed serious vulnerability that allows (if unpatched) the attacker to gain admin privileges (milw0rm exploits 8114 and 8115)
• cpg1.4.22 Fixed XSS vulnerability in showdoc.php
• cpg1.4.23 Fixed serious vulnerability (milw0rm exploits 8713)
• cpg1.4.24 Updated previous security fix to avoid causing an infinite loop in PHP 4.3
• cpg1.4.25 Fix uploading problem caused by security fix
Download the latest version
here.