OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA16724] Smb4k Insecure Temporary File Handling Vulnerability

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Wed Sep 07 2005 - 04:37:44 CDT


----------------------------------------------------------------------

Bist Du interessiert an einem neuen Job in IT-Sicherheit?

Secunia hat zwei freie Stellen als Junior und Senior Spezialist in IT-
Sicherheit:
http://secunia.com/secunia_vacancies/

----------------------------------------------------------------------

TITLE:
Smb4k Insecure Temporary File Handling Vulnerability

SECUNIA ADVISORY ID:
SA16724

VERIFY ADVISORY:
http://secunia.com/advisories/16724/

CRITICAL:
Less critical

IMPACT:
Privilege escalation

WHERE:
Local system

SOFTWARE:
Smb4K 0.x
http://secunia.com/product/5670/

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.

SOLUTION:
Update to the fixed version or apply patch.

Version 0.6.x:
Update to version 0.6.3.

Version 0.5.2:
Apply patch.
http://download.berlios.de/smb4k/001_security_fix_smb4k_0.5.2.diff.gz

Version 0.4.1a:
Apply patch.
http://download.berlios.de/smb4k/001_security_fix_smb4k_0.4.1a.diff.gz

PROVIDED AND/OR DISCOVERED BY:
Reported by vendor.

ORIGINAL ADVISORY:
http://smb4k.berlios.de/

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------