Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 158998

Summary: CAN-2005-1751 shtool insecure temporary file creation
Product: [Fedora] Fedora Reporter: Josh Bressers <bressers>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 4Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20050524,source=vendor-sec,reported=20050526
Fixed In Version: 5.0.4-10.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-05 15:33:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Josh Bressers 2005-05-27 15:28:49 UTC
+++ This bug was initially created as a clone of Bug #158997 +++

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

php contains shtool in its source.

Comment 1 Josh Bressers 2005-05-27 15:29:27 UTC
This issue should also affect FC4

Comment 2 Joe Orton 2005-05-27 15:46:31 UTC
Note that this issue can only be triggered when:

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

This issue alone is not worth issuing an update for; it can be deferred until
there is a new upstream release or some other more serious issue.

Comment 3 Joe Orton 2005-07-05 15:33:30 UTC
Fixed for FC4 in FEDORA-2005-518.

http://www.redhat.com/archives/fedora-announce-list/2005-July/msg00011.html