ruby -- insecure file permissions

2004-08-16T00:00:00
ID DSA-537
Type debian
Reporter Debian
Modified 2004-08-16T00:00:00

Description

Andres Salomon noticed a problem in the CGI session management of Ruby, an object-oriented scripting language. CGI::Session's FileStore (and presumably PStore, but not in Debian woody) implementations store session information insecurely. They simply create files, ignoring permission issues. This can lead an attacker who has also shell access to the webserver to take over a session.

For the stable distribution (woody) this problem has been fixed in version 1.6.7-3woody3.

For the unstable and testing distributions (sid and sarge) this problem has been fixed in version 1.8.1+1.8.2pre1-4.

We recommend that you upgrade your libruby package.