GLSA 200511-15: Smb4k: Local unauthorized file access

Severity:high
Title:Smb4k: Local unauthorized file access
Date:11/18/2005
Bugs: #111089
ID:200511-15

Synopsis

A vulnerability has been identified that allows unauthorized access to the contents of /etc/sudoers and /etc/super.tab files.

Background

Smb4K is a SMB/CIFS share browser for KDE.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-misc/smb4k < 0.6.4 >= 0.6.4 All supported architectures

Description

A vulnerability leading to unauthorized file access has been found. A pre-existing symlink from /tmp/sudoers and /tmp/super.tab to a textfile will cause Smb4k to write the contents of these files to the target of the symlink, as Smb4k does not check for the existence of these files before writing to them.

Impact

An attacker could acquire local privilege escalation by adding username(s) to the list of sudoers.

Workaround

There is no known workaround at this time.

Resolution

All smb4k users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-misc/smb4k-0.6.4"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200511-15.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!