Samba reply_netbios_packet() buffer overflow

samba-replynetbiospacket-bo (38502) The risk level is classified as HighHigh Risk

Description:

Samba is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the reply_netbios_packet() function. If Samba is configured to run as a WINS server, a remote attacker from within the local network could send multiple specially-crafted WINS "Name Registration" requests followed by a WINS "Name Query" request to overflow a buffer and possibly execute arbitrary code on the vulnerable system.

Platforms Affected:

  • Apple, Mac OS X 10.4.11
  • Apple, Mac OS X 10.5.1
  • Apple, Mac OS X Server 10.4.11
  • Apple, Mac OS X Server 10.5.1
  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Canonical, Ubuntu 7.04
  • Canonical, Ubuntu 7.10
  • Debian, Debian Linux 3.1
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • HP, HP-UX B.11.11
  • HP, HP-UX B.11.23
  • HP, HP-UX B.11.31
  • Mandriva, Corporate Server 3.0 X86_64
  • Mandriva, Corporate Server 3.0
  • Mandriva, Corporate Server 4.0 X86_64
  • Mandriva, Corporate Server 4.0
  • Mandriva, Linux 2007 X86_64
  • Mandriva, Linux 2007
  • Mandriva, Linux 2007.1
  • Mandriva, Linux 2007.1 X86_64
  • Mandriva, Linux 2008.0
  • Mandriva, Linux 2008.0 X86_64
  • Novell, Linux Desktop 9
  • Novell, Linux POS 9
  • Novell, Open Enterprise Server
  • Novell, Open Enterprise Server
  • Novell, OpenSUSE 10.2
  • Novell, OpenSUSE 10.3
  • Novell, SLE SDK 10 SP1
  • Novell, SUSE Linux Enterprise Desktop 10 SP1
  • Novell, SUSE Linux Enterprise Server 10
  • Novell, SUSE Linux Enterprise Server 10 SP1
  • Novell, UnitedLinux 1.0
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4.5.z AS
  • RedHat, Enterprise Linux 4.5.z ES
  • RedHat, Enterprise Linux 5 Client
  • RedHat, Enterprise Linux 5
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • Samba, Samba 3.0 Alpha
  • Samba, Samba 3.0.0
  • Samba, Samba 3.0.1
  • Samba, Samba 3.0.10
  • Samba, Samba 3.0.11
  • Samba, Samba 3.0.12
  • Samba, Samba 3.0.13
  • Samba, Samba 3.0.14
  • Samba, Samba 3.0.14a
  • Samba, Samba 3.0.15
  • Samba, Samba 3.0.16
  • Samba, Samba 3.0.17
  • Samba, Samba 3.0.18
  • Samba, Samba 3.0.19
  • Samba, Samba 3.0.2
  • Samba, Samba 3.0.20
  • Samba, Samba 3.0.20a
  • Samba, Samba 3.0.20b
  • Samba, Samba 3.0.21
  • Samba, Samba 3.0.21a
  • Samba, Samba 3.0.21b
  • Samba, Samba 3.0.21c
  • Samba, Samba 3.0.22
  • Samba, Samba 3.0.23
  • Samba, Samba 3.0.23a
  • Samba, Samba 3.0.23b
  • Samba, Samba 3.0.23c
  • Samba, Samba 3.0.23d
  • Samba, Samba 3.0.24
  • Samba, Samba 3.0.25 Rc2
  • Samba, Samba 3.0.25 Rc3
  • Samba, Samba 3.0.25 Rc1
  • Samba, Samba 3.0.25 Pre2
  • Samba, Samba 3.0.25 Pre1
  • Samba, Samba 3.0.25
  • Samba, Samba 3.0.25a
  • Samba, Samba 3.0.25b
  • Samba, Samba 3.0.25c
  • Samba, Samba 3.0.26
  • Samba, Samba 3.0.26a
  • Samba, Samba 3.0.2a
  • Samba, Samba 3.0.3
  • Samba, Samba 3.0.4
  • Samba, Samba 3.0.4 R1
  • Samba, Samba 3.0.5
  • Samba, Samba 3.0.6
  • Samba, Samba 3.0.7
  • Samba, Samba 3.0.8
  • Samba, Samba 3.0.9
  • Sun, Solaris 10 SPARC
  • Sun, Solaris 10 x86
  • Sun, Solaris 9.0 SPARC
  • Sun, Solaris 9.0 x86
  • SuSE, SLE SDK 10
  • SuSE, SuSE Linux 10.0
  • SuSE, SuSE Linux 10.1
  • SuSE, SuSE Linux Desktop 1.0
  • SuSE, SuSE Linux Enterprise Server 8.0
  • SuSE, SuSE Linux OpenExchange Server 4
  • SuSE, SuSE Linux Retail Solution 8
  • SuSE, SuSE Linux School Server
  • SuSE, SuSE Linux Standard Server 8
  • SuSE, SuSE SLES 9
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux 10 Server x64 Ed
  • Turbolinux, Turbolinux 11 Server
  • Turbolinux, Turbolinux 11 Server x64 Ed
  • Turbolinux, Turbolinux 8 Server
  • Turbolinux, Turbolinux FUJI
  • Turbolinux, Turbolinux Multimedia
  • Turbolinux, Turbolinux Personal
  • Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
  • Turbolinux, Turbolinux Appliance Server 2.0
  • VMware, ESX Server 3.0.1
  • VMware, ESX Server 3.0.2

Remedy:

Upgrade to the latest version of Samba (3.0.27 or later), available from the Samba Web site. See References.

Refer to VMSA-2008-0001 for patch, upgrade, or suggested workaround information, available from the VMware Security-announce Mailing List, Mon Jan 7 17:46:23 PST 2008. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Gain Access

References:

Reported:

Nov 15, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page