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

Low Nessus Plugin ID 35582


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


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.


Update the affected package.

See Also

Plugin Details

Severity: Low

ID: 35582

File Name: freebsd_pkg_4a99d61cf23a11dd9f550030843d3802.nasl

Version: $Revision: 1.9 $

Type: local

Published: 2009/02/04

Modified: 2013/06/21

Dependencies: 12634

Risk Information

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: 2009/02/03

Vulnerability Publication Date: 2005/03/09

Reference Information

CVE: CVE-2005-0448

Secunia: 14531