copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2004.0730 -- Samba Security Advisory -- Possible Buffer Overrun in smbd

Date: 16 November 2004
References: ESB-2004.0732  ESB-2005.0559  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                 ESB-2004.0730 -- Samba Security Advisory
                      Possible Buffer Overrun in smbd
                             16 November 2004

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Samba 3.0.x
Publisher:         Samba
Operating System:  Linux variants
                   UNIX variants
Impact:            Execute Arbitrary Code/Commands
Access:            Remote/Unauthenticated
CVE Names:         CAN-2004-0882

Ref:               http://security.e-matters.de/advisories/132004.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBmK56IR7qMdg1EfYRAr/7AKCyPlfil+TTxI+IqJsMhXqaXVf2BgCg3FIy
b/27yHDy7RBA7Wf7z8u6IUw=
=+U47
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQZlZ0Sh9+71yA2DNAQJCeQP/evX+0PsilLc9yICVELnEXYfYwkv1I3zH
KatGNVb1snoQTSDvafKIoYq9wELQOQejIJME9tBD9lYCv36XHotHZ8lkUw2xU6Jh
DEcPvNUam2wkXxAUQfhnR0qHcliS7YwCdH6rPXEG2IJhy8Wyh6/TrBPydgpooG0Q
zMoX4hEmHLg=
=jUia
-----END PGP SIGNATURE-----