Bug 130065 - CAN-2004-0755 ruby insecure file permissions
Summary: CAN-2004-0755 ruby insecure file permissions
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: ruby   
(Show other bugs)
Version: 3.0
Hardware: All Linux
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Bill Huang
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2004-08-16 20:19 UTC by Josh Bressers
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-30 14:22:37 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Test script (312 bytes, text/plain)
2004-08-18 22:43 UTC, Josh Bressers
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2004:441 normal SHIPPED_LIVE Low: ruby security update 2004-09-30 04:00:00 UTC

Description Josh Bressers 2004-08-16 20:19:36 UTC
From the Debian DSA

Andres Salomon no ticed 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.

This issue was reported to the Debian bug system

This issue should also affect RHEL2.1

Fedora Core is being handled by bug 130063

Comment 1 Akira TAGOH 2004-08-18 10:41:59 UTC
this problem should be fixed in 1.6.8-9.EL3.1 and 1.6.4-2.AS21.0.
please confirm it.

Comment 2 Josh Bressers 2004-08-18 22:12:51 UTC
This issue is CAN-2004-0755

Comment 3 Josh Bressers 2004-08-18 22:42:35 UTC
I can verify your new rpms fix the problem.  I'll attach my little
test cgi script.

Comment 4 Josh Bressers 2004-08-18 22:43:45 UTC
Created attachment 102862 [details]
Test script

If this bug is fixed, the permissions of the ls the script outputs should be


Comment 5 Josh Bressers 2004-09-30 14:22:37 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.