=====================================================================
                                  CERT-Renater

                       Note d'Information No. 2004/VULN483
_____________________________________________________________________

DATE                      : 16/11/2004

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running Samba 3.0.x versions  up to
                                and including 3.0.7.

======================================================================

Subject:	Possible Buffer Overrun in smbd
CVE #: 		CAN-2004-0882
Affected
Versions:	Samba 3.0.x <= 3.0.7

Summary: 	A possible buffer overrun in smbd could
		lead to code execution by a remote user


Patch Availability
- - - ------------------

A patch for Samba 3.0.7 (samba-3.0.7-CAN-2004-0882.patch) is
available from http://www.samba.org/samba/ftp/patches/security/.
The patch has been signed with the "Samba Distribution Verification
Key"  (ID F17F9772).


Description
- - - -----------

Invalid bounds checking in reply to certain trans2 requests
could result in a buffer overrun in smbd.  In order to exploit
this defect, the attacker must be able to create files with very
specific Unicode filenames on the Samba share.


Protecting Unpatched Servers
- - - ----------------------------

The Samba Team always encourages users to run the latest stable
release as a defense of against attacks.  However, under certain
circumstances it may not be possible to immediately upgrade
important installations.  In such cases, administrators should
read the "Server Security" documentation found at
http://www.samba.org/samba/docs/server_security.html.


Credits
- - - --------

This security issue was reported to Samba developers by Stefan
Esser from e-matters Security (http://security.e-matters.de/).



- - - -- Our Code, Our Bugs, Our Responsibility.

~       -- The Samba Team

======================================================================

         =========================================================
         Les serveurs de référence du CERT-Renater
         http://www.urec.fr/securite
         http://www.cru.fr/securite
         http://www.renater.fr
         =========================================================
         + CERT-RENATER          | tel : 01-53-94-20-44          +
         + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
         + 75013 Paris           | email: certsvp@renater.fr     +
         =========================================================





