FreeBSD : GNU libtool insecure temporary file handling (cacaffbc-5e64-11d8-80e3-0020ed76ef5a)

high Nessus Plugin ID 37213

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

libtool attempts to create a temporary directory in which to write scratch files needed during processing. A malicious user may create a symlink and then manipulate the directory so as to write to files to which she normally has no permissions.

This has been reported as a ``symlink vulnerability'', although I do not think that is an accurate description.

This vulnerability could possibly be used on a multi-user system to gain elevated privileges, e.g. root builds some packages, and another user successfully exploits this vulnerability to write to a system file.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?cb8a324b

https://www.securityfocus.com/archive/1/352333

http://www.nessus.org/u?a27d80c3

Plugin Details

Severity: High

ID: 37213

File Name: freebsd_pkg_cacaffbc5e6411d880e30020ed76ef5a.nasl

Version: 1.13

Type: local

Published: 4/23/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:libtool, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2/13/2004

Vulnerability Publication Date: 1/30/2004