Kees Cook has reported some vulnerabilities in smb4K, which can be exploited by malicious, local users to kill arbitrary processes, disclose potentially sensitive information, and gain escalated privileges.
1) The "writeFile()" function uses the insecure "mktemp()" function, which can lead to a race condition. This can be exploited to add additional lines to the sudoers file.
2) The "writeFile()" function stores the contents of the sudoers file in a world readable file. This can be exploited to gain knowledge of potentially sensitive information.
3) A design issue within the "smb4k_kill" utility can be exploited to kill any process on an affected system.
4) All smb4k utilities contain boundary errors within the handling of passed arguments. This can be exploited to execute arbitrary code with escalated privileges.
The vulnerabilities are reported in versions prior to 0.8.0.
Solution: Update to version 0.8.0.
Provided and/or discovered by: Kees Cook
Original Advisory: http://developer.berlios.de/bugs/?func=detailbug&bug_id=9630&group_id=769
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: smb4K Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.