|
UnZip File Permissions Change Vulnerability
|
|
Secunia Advisory:
|
SA16309
|
|
|
Release Date:
|
2005-08-03
|
|
Last Update:
|
2005-08-08
|
|
Popularity:
|
8,994 views
|
|
|
Critical:
|
 Not critical
|
|
Impact:
|
Privilege escalation
|
|
Where:
|
Local system
|
|
Solution Status:
|
Unpatched
|
|
| Software: | UnZip 5.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2005-2475
|
|
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.
|
|
|
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.
|