Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Perl "File::Path::rmtree" Race Condition Advisory Available in Danish 

Secunia Advisory: SA13643  
Release Date: 2004-12-26
Last Update: 2005-01-03

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Unpatched

Software:Perl 5.x

CVE reference:CVE-2004-0452 (Secunia mirror)

This advisory is currently marked as unpatched!
- Companies can be alerted when a patch is released!


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.



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.

7 Related Secunia Security Advisories

1. Perl "File::Path::rmtree" Insecure chmod on Symbolic Links
2. Perl Regular Expressions Unicode Data Buffer Overflow
3. Perl Explicit Format Parameter Index Integer Overflow Vulnerability
4. Perl "File::Path::rmtree" Directory Permissions Race Condition
5. Perl "PERLIO_DEBUG" Privilege Escalation Vulnerabilities
6. Perl Multiple Scripts Insecure Temporary File Creation Vulnerabilities
7. Perl win32_stat Function Buffer Overflow Vulnerability


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Red Hat update for tomcat
2.
HP-UX update for Apache
3.
Red Hat update for openoffice.org
4.
Opera Multiple Vulnerabilities
5.
OpenOffice "rtl_allocateMe mory()" Truncation Vulnerability
6.
JustSystems Ichitaro Products Unspecified Code Execution Vulnerability
7.
Red Hat Directory Server Multiple Vulnerabilities
8.
R "javareconf" Insecure Temporary Files
9.
Quick Poll "id" SQL Injection Vulnerability
10.
Ampache "gather-message s.sh" Insecure Temporary Files





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia