|
 |
|
UnZip File Permissions Change Vulnerability
|
|
|
|
|
Secunia Advisory:
|
SA16309
|
|
|
Release Date:
|
2005-08-03
|
|
Last Update:
|
2005-08-08
|
|
|
Critical:
|

Not critical
|
|
Impact:
|
Privilege escalation
|
|
Where:
|
Local system
|
|
Solution Status:
|
Unpatched
|
|
| Software: | UnZip 5.x
|
| | CVE reference: | CVE-2005-2475 (Secunia mirror)
|
|
|
This advisory is currently marked as unpatched! - Companies can be alerted when a patch is released! |
|
|
Description: Imran Ghory has reported a vulnerability in unzip, which can be exploited by malicious, local users to perform certain actions on a vulnerable system with escalated privileges.
The vulnerability is caused due a race condition that exists when the uncompressed file is closed and before its permissions are changed. This can be exploited via hardlink attacks to change the permissions of other files belonging to the user running unzip.
Successful exploitation requires that the malicious user is able to delete the uncompressed file and replace it with a hardlink to another file owned by the unzip user, before permissions are set on the file.
The vulnerability has been reported in version 5.52. Prior versions may also be affected.
Solution: Only unzip files into directories with the sticky bit set or where other users don't have write permissions.
Provided and/or discovered by: Imran Ghory
Changelog: 2005-08-08: 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.
|
|
|
|
2 Related Secunia Security Advisories
|
|
|
1. UnZip "inflate_dynamic()" Uninitialized Pointers Vulnerability
|
|
2. UnZip Directory Traversal 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
|
|
|
|
|
|