Some vulnerabilities have been reported in Samba, which can be exploited by malicious users to perform certain actions with escalated privileges and to compromise a vulnerable system, and by malicious people to compromise a vulnerable system.
1) An error in smbd when translating SIDs to and from names can be exploited to issue SMB/CIFS protocol operations as the root user.
Successful exploitation requires a valid user session.
2) An input validation error when updating a user's password can be exploited to inject and execute arbitrary shell commands via a specially crafted MS-RPC call.
Successful exploitation of this vulnerability requires that the "username map script" option is set in smb.conf, which is not the default setting. In addition, to successfully exploit this vulnerability via remote printer and file share management, an attacker requires a valid user session.
3) Input validation errors exist in the parsing of RPC requests to the LSA RPC interface. This can be exploited to cause heap based buffer overflows via specially crafted requests to "LsarAddPrivilegesToAccount", "LsarLookupSids", or "LsarLookupSids2".
4) An input validation error exists in the parsing of RPC requests to the DFS RPC interface. This can be exploited to cause a heap based buffer overflow via a specially crafted request to "DFSEnum".
5) An input validation error exists in the parsing of RPC requests to the SPOOLSS RPC interface. This can be exploited to cause a heap based buffer overflow via a specially crafted request to "RFNPCNEX".
6) An input validation error exists in the parsing of RPC requests to the SRVSVC RPC interface. This can be exploited to cause a heap based buffer overflow via a specially crafted request to "NetSetFileSecurity".
Successful exploitation of vulnerabilities #3 through #6 allows execution of arbitrary code, but requires a valid user session.
Vulnerability #1 is reported in versions 3.0.23d through 3.0.25pre2. Vulnerabilities #2 through #6 are reported in versions 3.0.0 through 3.0.25rc3.
Solution: Apply patches or update to version 3.0.25.
Provided and/or discovered by: 1) The vendor credits Paul Griffith and Andrew Hogue.
2) Discovered by an anonymous person and reported via iDefense Labs.
3-6) Discovered by an anonymous person and reported via ZDI.
Original Advisory: Samba:
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: Samba 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.