Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 20, 2009, 09:47:24 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: cpg1.4.22 Security release - upgrade mandatory!  (Read 11169 times)
0 Members and 1 Guest are viewing this topic.
Αndré Topic starter
Dev Team member
****
Gender: Male
Germany Germany

Posts: 2014



« on: April 30, 2009, 07:29:58 am »

The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.4.21 or older update to this latest version as soon as possible.

How to update:
Users running versions prior to 1.4.22 should update immediately by downloading the latest version from the download page and following the upgrade steps in the documentation
For those who want to apply the vulnerability fix manually to their Coppermine installation, open docs/showdoc.php and replace:
Code:
// harden against expolits: check the requested vars, replace illegal chars
$file = stripslashes($file);
$forbidden_chars = array("..", "/", "%", "<", ">", "$", "'", '"');
$file = str_replace($forbidden_chars, '', $file);
with the following lines:
Code:
// harden against expolits: check the requested vars, replace illegal chars
$file = stripslashes($file);
$forbidden_chars = array("..", "/", "%", "<", ">", "$", "'", '"');
$file = str_replace($forbidden_chars, '', $file);
$add_stylesheet = str_replace($forbidden_chars, '', $add_stylesheet);

Support:
If you have problems with this update, please use the Update support board. Do not post your issues to this announcement thread - your post will be deleted without notice.

Why was cpg1.4.22 released?
The release covers a recently discovered vulnerability that allows (if unpatched) a user to launch an XSS attack (thread).

Additionally, cpg1.4.22 includes fixes for the following non-security related issues:
  • Fixed improper ban expirations due to time offset being incorrectly applied (thread)
  • Increased maxlength for password field in user manager from 8 to 25 to match the limits elsewhere

Thanks to Gerendi Sandor Attila who discovered the vulnerability and Nibbler for coming up with the fix.


Thanks,
The Coppermine Team
« Last Edit: April 30, 2009, 08:56:42 am by eenemeenemuu » Logged

François Keller
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #1 on: May 01, 2009, 05:40:09 pm »

French translation and announcements here http://forum.coppermine-gallery.net/index.php/topic,59271.0.html
Logged

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.032 seconds with 16 queries.