Secunia Logo  
 
Perl "File::Path::rmtree" Race Condition
Secunia Advisory: SA13643
Release Date: 2004-12-26
Last Update: 2005-01-03
Popularity: 11,063 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-2004-0452


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

Changelog:
2005-01-03: Added CVE reference.


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.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 67 views
2. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 49 views
3. Symantec Mail Security for SMTP Response Handling Denial of Service // 42 views
4. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 40 views
5. TSC2 Help Desk CTab ActiveX Control Caption List Buffer Overflow // 28 views
6. Red Hat update for openssl // 27 views
7. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 27 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 27 views
9. PollHelper "poll.inc" Information Disclosure Security Issue // 26 views
10. Red Hat update for dbus // 25 views