util-linux (script) command hardlink can be used to overwrite files

util-linux-script-hardlink (7718) The risk level is classified as MediumMedium Risk

Description:

The util-linux (script) command could allow a local attacker to overwrite files. An attacker could set hardlinks from the typescript log file to any file on the system, which would be overwritten once a root user executes the script command.

Platforms Affected:

  • Kernel, util-linux
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Linux Advanced Workstation 2.1 Itanium

Remedy:

Upgrade to the latest version of util-linux (2.11n or later), available from the Linux Kernel Archives FTP site. See References.

For Red Hat Linux:
Refer to RHSA-2005:782-12 for patch, upgrade, or suggested workaround information. See References.

Consequences:

File Manipulation

References:

Reported:

Dec 12, 2001

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page