Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA10842

Samba Local Privilege Escalation Issue
Secunia Advisory SA10842
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2004-02-11
Last Update 2004-03-14
   
Popularity 12,058 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Privilege escalation
Where Local system
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Partial Fix
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
Samba 3.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2004-0082 CVSS available in Customer Area
CVE-2004-0186 CVSS available in Customer Area
  

Description

Michal Medvecky has reported a security issue in samba, which can be exploited by malicious, local users to escalate their privileges.

The problem is that Samba 3.0 combined with Linux Kernel 2.6 fails to strip setuid bits from network shares. This can be exploited to gain escalated privileges if "smbmnt" is setuid root by mounting a network share with malicious setuid root binaries.

By default "smbmnt" isn't setuid.

However, it has been reported that Debian and Mandrake ships with "smbmnt" setuid root.

NOTE: Another problem which has been reported by the vendor, is that accounts created by "mksmbpasswd.sh" have uninitialised passwords. This can be exploited by malicious people to log into these accounts.


Solution
Remove the setuid bit from "smbmnt".
Further details available in Customer Area

Provided and/or discovered by
Michal Medvecky

Changelog
Further details available in Customer Area

Deep Links
Links available in Customer Area


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 vuln@secunia.com

Subject: Samba Local Privilege Escalation Issue
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability