Yukihiro Matsumoto Ruby CGI Session Management Insecure File Permissions Vulnerability

BID:10946

Info

Yukihiro Matsumoto Ruby CGI Session Management Insecure File Permissions Vulnerability

Bugtraq ID: 10946
Class: Design Error
CVE: CVE-2004-0755
Remote: No
Local: Yes
Published: Aug 16 2004 12:00AM
Updated: Jul 12 2009 06:16AM
Credit: Discovery is credited to Andres Salomon.
Vulnerable: Yukihiro Matsumoto Ruby 1.8
+ Redhat Fedora Core3
+ Ubuntu Ubuntu Linux 5.0 4 powerpc
+ Ubuntu Ubuntu Linux 5.0 4 i386
+ Ubuntu Ubuntu Linux 5.0 4 amd64
+ Ubuntu Ubuntu Linux 4.1 ppc
+ Ubuntu Ubuntu Linux 4.1 ia64
+ Ubuntu Ubuntu Linux 4.1 ia32
Yukihiro Matsumoto Ruby 1.6
Turbolinux Turbolinux Workstation 8.0
Turbolinux Turbolinux Workstation 7.0
Turbolinux Turbolinux Server 10.0
Turbolinux Turbolinux Server 8.0
Turbolinux Turbolinux Server 7.0
Turbolinux Turbolinux Desktop 10.0
Turbolinux Home
Redhat Linux 9.0 i386
Redhat Linux 7.3 i686
Redhat Linux 7.3 i386
Redhat Linux 7.3
Redhat Fedora Core2
Redhat Fedora Core1
Redhat Enterprise Linux WS 3
Redhat Enterprise Linux WS 2.1 IA64
Redhat Enterprise Linux WS 2.1
Redhat Enterprise Linux ES 3
Redhat Enterprise Linux ES 2.1 IA64
Redhat Enterprise Linux ES 2.1
Redhat Enterprise Linux AS 3
Redhat Enterprise Linux AS 2.1 IA64
Redhat Enterprise Linux AS 2.1
Redhat Desktop 3.0
Mandriva Linux Mandrake 10.1 x86_64
Mandriva Linux Mandrake 10.1
Mandriva Linux Mandrake 10.0 AMD64
Mandriva Linux Mandrake 10.0
Mandriva Linux Mandrake 9.2 amd64
Mandriva Linux Mandrake 9.2
MandrakeSoft Corporate Server 2.1 x86_64
MandrakeSoft Corporate Server 2.1
Gentoo Linux 1.4 _rc3
Gentoo Linux 1.4 _rc2
Gentoo Linux 1.4 _rc1
Gentoo Linux 1.4
Gentoo Linux 1.2
Gentoo Linux 1.1 a
Gentoo Linux 0.7
Gentoo Linux 0.5
Not Vulnerable: Yukihiro Matsumoto Ruby 1.8.2 pre2
Yukihiro Matsumoto Ruby 1.8.2 pre1
Yukihiro Matsumoto Ruby 1.8.1
+ Redhat Fedora Core3
+ Redhat Fedora Core2
Yukihiro Matsumoto Ruby 1.6.7
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0

Discussion

Yukihiro Matsumoto Ruby CGI Session Management Insecure File Permissions Vulnerability

It is reported that Ruby is prone to an insecure file permissions vulnerability. This issue affects the CGI session management component of the application.

This issue may allow a local attacker with access to a vulnerable Web server to hijack a session.

Ruby versions prior to 1.6.7 and 1.8.1 are affected by the issue.

Exploit / POC

Yukihiro Matsumoto Ruby CGI Session Management Insecure File Permissions Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

Yukihiro Matsumoto Ruby CGI Session Management Insecure File Permissions Vulnerability

Solution:
The current 1.6 version of Ruby and versions 1.8.1 and 1.8.2 pre1 and 1.8.2 pre2 are not affected by this issue. This information is not confirmed at the moment.

Red Hat has released an advisory (FEDORA-2004-264) to address this issue in Fedora Core 2. Please see the referenced advisory for more information.

Red Hat has released advisory RHSA-2004:441-18 and fixes to address this issue on Red Hat Linux Enterprise platforms. Customers that are affected by this issue are advised to apply the appropriate updates. Customers subscribed to the Red Hat Network may apply the appropriate fixes using the Red Hat Update Agent (up2date). Please see referenced advisory for additional information.

Debian has released an advisory to address this issue. Please see the referenced advisory for more information.

Gentoo has released an advisory (GLSA 200409-08) and an updated eBuild to address this issue. Please see the referenced advisory to more information. Gentoo users can carry out the following commands to update their computers:

emerge sync
emerge -pv ">=dev-lang/ruby-your_version"
emerge ">=dev-lang/ruby-your_version"

Mandrake has released advisory MDKSA-2004:128 along with fixes to address this issue. Please see the referenced advisory for further information.

RedHat Fedora Linux has released advisory FEDORA-2004-403 along with fixes for their Fedora Core 3 product. Please see the referenced advisory for more information.

Turbolinux has released advisory Turbolinux Security Announcement 31/Jan/2005 to address various issues. Please see the referenced advisory for more information.

The Fedora Legacy project has released advisory FLSA:152768 to address this issue in RedHat Linux 7.3, 9, and Fedora Core 1. Please see the referenced advisory for further information.


Yukihiro Matsumoto Ruby 1.6

Yukihiro Matsumoto Ruby 1.8

Turbolinux Turbolinux Desktop 10.0

Turbolinux Turbolinux Server 10.0

Turbolinux Turbolinux Server 7.0

Turbolinux Turbolinux Workstation 7.0

Turbolinux Turbolinux Workstation 8.0

Turbolinux Turbolinux Server 8.0

References

Yukihiro Matsumoto Ruby CGI Session Management Insecure File Permissions Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report