Bug 158998 - CAN-2005-1751 shtool insecure temporary file creation
CAN-2005-1751 shtool insecure temporary file creation
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Joe Orton
David Lawrence
: Security
Depends On:
  Show dependency treegraph
Reported: 2005-05-27 11:28 EDT by Josh Bressers
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 5.0.4-10.3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-05 11:33:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Josh Bressers 2005-05-27 11:28:49 EDT
+++ 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.

php contains shtool in its source.
Comment 1 Josh Bressers 2005-05-27 11:29:27 EDT
This issue should also affect FC4
Comment 2 Joe Orton 2005-05-27 11:46:31 EDT
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 11:33:30 EDT
Fixed for FC4 in FEDORA-2005-518.


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