The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[UNIX] Samba SAMR Change Password Command Injection Vulnerability


<< Previous INDEX Search src / Print Next >>
From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 15 May 2007 16:42:00 +0200
Subject: [UNIX] Samba SAMR Change Password Command Injection Vulnerability
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20070515140226.A71C157E5@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru

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: [email protected] In order to subscribe to the mailing list, simply forward this email to: [email protected]

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.

<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру