Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 249011

Summary: CVE-2003-0618 leaks file existance information
Product: Red Hat Enterprise Linux 3 Reporter: Mark J. Cox <mjc>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 3.0CC: bressers, jnovy
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20030730,source=vendorsec,reported=20030730
Fixed In Version: RHBA-2006:0294 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-30 16:23:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark J. Cox 2007-07-20 11:49:53 UTC
Clone for RHEL3 tracking

+++ This bug was initially created as a clone of Bug #114923 +++

CAN-2003-0618 was reported 2003Jul29 to Debian. You can test for the
existance of files even if you don't have permission to do so by using
the suidperl command.

        $ su
        # mkdir ~root/delme; chmod 700 ~root/delme;touch ~root/delme/1
        # exit
        $ suidperl ~root/delme/1
        Script is not setuid/setgid in suidperl
        $ suidperl ~root/delme/2
        Can't open perl script "/root/delme/2": No such file ...

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=220486
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=203426

        Affects: 2.1AS 2.1ES 2.1AW 2.1WS (5.6.1) 
        Affects: 3AS 3ES 3WS (5.8.0) 

Debian released an errata for this issue in Feb 2004.

-- Additional comment from mjc on 2004-02-09 10:40 EST --
Actually this doesn't affect RHEL3 because the setuid perl package was
not shipped.

-- Additional comment from bressers on 2005-05-04 18:04 EST --
I did some verification work on this one.  This issue does affect RHEL3.  We may
not have shipped perl-suidperl in the past, we do now.

-- Additional comment from jvdias on 2006-04-21 21:24 EST --
fixed with perl-5.6.1-38.EL2_1

-- Additional comment from rnorwood on 2006-10-01 19:33 EST --
assigning to rnorwood

-- Additional comment from mjc on 2007-07-20 07:47 EST --
that version isn't shipped yet, opening and marking MODIFIED

Comment 1 Tomas Hoger 2008-05-30 16:05:51 UTC
This issue was fixed in perl-5.8.0-93.EL3

* Mon Apr 24 2006 Jason Vas Dias <jvdias> - 2:5.8.0-93.EL3

- fix minor security issue CVE-2003-0618: suidperl could be used to
  reveal locations of files in hidden directories


https://rhn.redhat.com/errata/RHBA-2006-0294.html