Secunia - Stay Secure
Gartner
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


UnZip File Permissions Change Vulnerability Advisory Available in Danish 

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

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


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Debian update for clamav
3.
Drupal Session Fixation Vulnerability
4.
Apple Safari Cross-Domain Cookie Injection Vulnerability
5.
Linux Kernel LDT Buffer Size Handling Vulnerability
6.
Advanced Poll Multiple Vulnerabilities
7.
Microsoft Word Unspecified Code Execution Vulnerability
8.
Red Hat update for thunderbird
9.
Debian update for xulrunner
10.
Red Hat update for kernel





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