Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [UNIX] Samba SAMR Change Password Command Injection Vulnerability |
|---|---|
| Date: | 15 May 2007 16:42:00 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - Samba SAMR Change Password Command Injection Vulnerability ------------------------------------------------------------------------ SUMMARY <http://samba.org/samba/ > Samba is "a Unix server application used to implement Windows file sharing and domain controlling functionality. SAMR is the named pipe used to access the SAM, security accounts manager, database. This database stores login credentials on NT based systems". Remote exploitation of a command injection vulnerability within Samba Project's Samba could allow an attacker to execute arbitrary code with nobody privileges. DETAILS Vulnerable Systems: * Samba version 3.0.24. * Previous versions of Samba release 3 may be vulnerable. * Release version 2 and below did not have this feature. The vulnerability exists within the code responsible for updating a user's password in the SAM database. Unfiltered user input is passed to "/bin/sh". This allows an attacker to execute arbitrary shell commands with the privileges of the nobody user. Successful exploitation of this vulnerability allows an attacker to run arbitrary shell commands with the privileges of the nobody user. An important mitigating factor is that this vulnerability occurs within a non-default configuration of Samba. Specifically, the 'username map script' option must be defined in the smb.conf file. Valid credentials are not needed to exploit this vulnerability. In order to successfully change a password, it is necessary to provide the original password. However, the vulnerability can still be triggered regardless of whether or not the change password attempt fails. Workaround: Removing the 'username map script' option from the smb.conf file will prevent this vulnerability from being triggered. CVE Information: <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2447> CVE-2007-2447 Disclosure Timeline: * 05/07/2007 Initial vendor notification * 05/07/2007 Initial vendor response * 05/14/2007 Coordinated public disclosure ADDITIONAL INFORMATION The information has been provided by iDefense. The original article can be found at: <http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=534> http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=534 ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [UNIX] AFFLIB Multiple Buffer Overflows, SecuriTeam |
|---|---|
| Next by Date: | [EXPL] TinyIdentD Buffer Overflow (Exploit), SecuriTeam |
| Previous by Thread: | [UNIX] AFFLIB Multiple Buffer Overflows, SecuriTeam |
| Next by Thread: | [EXPL] TinyIdentD Buffer Overflow (Exploit), SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |