|
 |
|
Perl "File::Path::rmtree" Race Condition
|
|
|
|
|
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
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|