Bug 161337 - CAN-2001-1494 hardlink vulnerability in 'script' command
CAN-2001-1494 hardlink vulnerability in 'script' command
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: util-linux (Show other bugs)
2.1
All Linux
medium Severity low
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
public=20011212,impact=low,source=cve...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-22 11:10 EDT by Josh Bressers
Modified: 2007-11-30 17:06 EST (History)
1 user (show)

See Also:
Fixed In Version: RHSA-2005-782
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-11 11:48:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Josh Bressers 2005-06-22 11:10:19 EDT
Very simple, script (when executed as root) overwrites
hardlinks that could be set by any user to any file on
the harddisk. For instance, a malicious user can place
a hardlink 'typescript' to /etc/passwd (or any other file)
in his home directory. If the root user would execute
script in that directory it would cause script to
overwrite that file. Script does check for symlinks and
asks if the symlink should be overwritten, it lacks
checking hardlinks. 

http://archives.neohapsis.com/archives/bugtraq/2001-12/0119.html
Comment 5 Red Hat Bugzilla 2005-10-11 11:48:04 EDT
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-782.html

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