TITLE:
Perl "File::Path::rmtree" Race Condition
SECUNIA ADVISORY ID:
SA13643
VERIFY ADVISORY:
http://secunia.com/advisories/13643/
CRITICAL:
Less critical
IMPACT:
Privilege escalation
WHERE:
Local system
SOFTWARE:
Perl 5.x
http://secunia.com/product/2647/
DESCRIPTION:
Paul Szabo has reported a vulnerability in Perl "File::Path::rmtree",
allowing malicious, local users to gain escalated privileges.
The vulnerability is caused due to a race condition in the way
"File::Path::rmtree" changes permissions on files before deleting
them. This can be exploited by creating a symbolic link to arbitrary
files.
Successful exploitation may allow changing permissions or removing
arbitrary files, if root uses an application using the vulnerable
code to delete files.
SOLUTION:
Do not use applications, which use "File::Path::rmtree", on systems
with untrusted users.
PROVIDED AND/OR DISCOVERED BY:
Paul Szabo
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.