Secunia Logo
Netsikker nu! 2008
 
Smb4k Insecure Temporary File Handling Vulnerability
Secunia Advisory: SA16724
Release Date: 2005-09-07
Last Update: 2005-10-31
Popularity: 5,643 views

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

Software:Smb4K 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2851


Description:
A vulnerability has been reported in Smb4K, which can be exploited by malicious, local users to perform certain actions on a vulnerable system with escalated privileges.

The vulnerability is caused due to the insecure handling of temporary files "/tmp/smb4k.tmp" and "/tmp/sudoers". This can be exploited via symlink attacks to gain full access to the "/etc/super.tab" and "/etc/sudoers" files.

The vulnerability has been reported in all versions of 0.4, 0.5, and 0.6 prior to 0.6.3. The vulnerability reportedly has not been adequately addressed in version 0.6.3.

Solution:
Update to the fixed version or apply patch.
http://smb4k.berlios.de/download.html

Version 0.6.x:
Update to version 0.6.4.

Version 0.5.2:
Apply patch (apply only to an unpatched source).
http://download.berlios.de/smb4k/002_security_fix_smb4k_0.5.2_unified.diff.gz

Version 0.4.1a:
Apply patch (apply only to an unpatched source).
http://download.berlios.de/smb4k/002_security_fix_smb4k_0.4.1a_unified.diff.gz

A potentially symlink issue in lock file handling has also been fixed.

Provided and/or discovered by:
Reported by vendor.

Changelog:
2005-09-27: Added CVE reference.
2005-10-31: Vendor releases improved patches to fully address the vulnerability. Updated "Description" and "Solution" sections.

Original Advisory:
http://smb4k.berlios.de/


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.
  
Latest Advisories

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 275 views
Debian update for php5
Moderately // 202 views
Atarone CMS Multiple Vulnerabilities
Moderately // 233 views
Debian update for squid
Less // 238 views
SUSE update for mercurial
Moderately // 278 views
SUSE update for openssh
Less // 221 views
Fedora update for mediawiki

Solutions | More...  


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.

Most Popular - 3 Hours

1. Zeroboard Two Vulnerabilities // 69 views
2. Zeroboard Multiple Vulnerabilities // 63 views
3. Debian update for php5 // 50 views
4. Atarone CMS Multiple Vulnerabilities // 37 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 35 views
6. Debian update for squid // 32 views
7. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 31 views
8. CMME Information Disclosure Security Issues // 30 views
9. SUSE update for mercurial // 29 views
10. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 28 views