|
Perl "File::Path::rmtree" Directory Permissions Race Condition
|
|
Secunia Advisory:
|
SA14531
|
|
|
Release Date:
|
2005-03-09
|
|
Popularity:
|
15,081 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Privilege escalation
|
|
Where:
|
Local system
|
|
Solution Status:
|
Unpatched
|
|
| Software: | Perl 5.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2005-0448
|
|
Description: 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.
This is related to:
SA13643
Solution: Do not use applications, which use "File::Path::rmtree", on systems with untrusted users.
Provided and/or discovered by: Paul Szabo
Original Advisory: http://www.ubuntulinux.org/support/documentation/usn/usn-94-1
Other References: SA13643:
http://secunia.com/advisories/13643/
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|