FreeBSD : perl -- Directory Permissions Race Condition (4a99d61c-f23a-11dd-9f55-0030843d3802)

low Nessus Plugin ID 35582

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Secunia reports :

Paul Szabo has reported a vulnerability in Perl File::Path::rmtree, which potentially can be exploited by malicious, local users to gain escalated privileges.

The vulnerability is caused due to a race condition in the way File::Path::rmtree handles directory permissions when cleaning up directories. This can be exploited by replacing an existing sub directory in the directory tree with a symbolic link to an arbitrary file.

Successful exploitation may allow changing permissions of arbitrary files, if root uses an application using the vulnerable code to delete files in a directory having a world-writable sub directory.

Solution

Update the affected package.

See Also

https://usn.ubuntu.com/94-1/

http://www.nessus.org/u?97cfd0c0

Plugin Details

Severity: Low

ID: 35582

File Name: freebsd_pkg_4a99d61cf23a11dd9f550030843d3802.nasl

Version: 1.13

Type: local

Published: 2/4/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Low

Base Score: 1.2

Vector: CVSS2#AV:L/AC:H/Au:N/C:N/I:P/A:N

Vulnerability Information

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

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

Patch Publication Date: 2/3/2009

Vulnerability Publication Date: 3/9/2005

Reference Information

CVE: CVE-2005-0448

Secunia: 14531