Bug 159000

Summary: CAN-2005-1751 shtool insecure temporary file creation
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 4.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20050524,source=vendor-sec,reported=20050526
Fixed In Version: RHSA-2005-564 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-07 20:03:02 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 Josh Bressers 2005-05-27 15:32:03 UTC
Race condition in shtool 2.0.1 and earlier allows local users to
create or modify arbitrary files via a symlink attack on the
.shtool.$$ temporary file.
http://www.zataz.net/adviso/shtool-05252005.txt

openldap contains shtool in its source.

Comment 1 Joe Orton 2005-05-27 15:43:58 UTC
Note that this issue can only be triggered when:

a) rebuilding the PHP source RPM
b) building a third-party PHP module

Proposing for inclusion in U2.

Comment 2 Joe Orton 2005-05-27 15:48:32 UTC
*** Bug 158997 has been marked as a duplicate of this bug. ***

Comment 3 Josh Bressers 2005-05-27 16:58:47 UTC
Yes, we'll just include this in either U2 or our next security update.  No need
to roll new packages just for this.

Comment 6 Red Hat Bugzilla 2005-07-07 20:03:02 UTC
An advisory 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.

http://rhn.redhat.com/errata/RHSA-2005-564.html