Samba SWAT invalid base64 character causes buffer overflow

samba-swat-base64-bo (16785) The risk level is classified as HighHigh Risk

Description:

Samba is vulnerable to a buffer overflow in the Samba Web Administration Tool (SWAT). SWAT is used to decipher the base64 data during HTTP authentication. If SWAT has been enabled, a remote attacker could supply an invalid base64 character to overflow a buffer and possibly execute arbitrary code on the system.


Consequences:

Gain Access

Remedy:

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

For Red Hat Linux:
Upgrade to the latest samba package, as listed below. Refer to RHSA-2004:259-23 for more information. See References.

Red Hat Enterprise Linux AS (v. 3), ES (v.3), WS (v. 3), and Desktop (v.3): 3.0.4-6.3E.x86_64 or later

For OpenPKG:
Upgrade to the latest samba package, as listed in OpenPKG Security Advisory OpenPKG-SA-2004.033-samba. See References.

OpenPKG CURRENT: 3.0.5-20040722 or later
OpenPKG 2.0: 2.2.8a-2.0.1 or later
OpenPKG 2.1: 3.0.4-2.1.1 or later

For Conectiva Linux:
Upgrade to the latest samba package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:851and CLSA-2004:854 for more information. See References.

Conectiva Linux 10: 3.0.4-62749U10_2cl or later
Conectiva Linux 8: 2.2.10-1U80_1cl or later
Conectiva Linux 9: 2.2.10-27520U90_1cl or later

For Mandrake Linux:
Upgrade to the latest samba package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:071 : samba for more information. See References.

Mandrake Linux 9.1: 2.2.7a-9.4.91mdk or later
Mandrake Linux 9.2: 2.2.8a-13.2.92mdk or later
Mandrake Linux Multi Network Firewall 8.2: 2.2.7a-9.4.M82mdk or later
Mandrake Linux Corporate Server 2.1: 2.2.7a-10.2.C21mdk or later
Mandrake Linux 10.0: 3.0.2a-3.2.100mdk or later

For SuSE Linux:
Upgrade to the latest samba package, as listed below. Refer to SuSE Security Announcement SuSE-SuSE-SA:2004:010 for more information. See References.

SuSE Linux 9.1: 3.0.4-1.27 or later
SuSE Linux 9.0: 2.2.8a-220 or later
SuSE Linux 8.2: 2.2.8a-220 or later
SuSE Linux 8.1: 2.2.8a-218 or later

For Slackware Linux:
Upgrade to the latest samba package, as listed below. Refer to slackware-security Mailing List, Sun, 25 Jul 2004 20:24:19 -0700 (PDT) for more information. See References.

Slackware Linux 9.0 and 8.1: 2.2.10-i386-1 or later
Slackware Linux 9.1: 2.2.10-i486-1 or later

Refer to slackware-security Mailing List, Mon, 26 Jul 2004 15:19:49 -0700 (PDT) for more information. See References.

Slackware Linux 10.0 and -current: 3.0.5-i486-2 or later

For Trustix Secure Linux:
Upgrade to the latest samba package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0039 for more information. See References.

For Gentoo Linux:
Upgrade to the latest version of samba (3.0.5 or later), as listed in GLSA 200407-21. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • Conectiva Linux 10
  • Conectiva Linux 8.0
  • Conectiva Linux 9.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 9.1
  • MandrakeSoft Mandrake Linux 9.2
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Multi Network Firewall 8.2
  • Novell SuSE Linux Enterprise Server 7.0
  • OpenPKG OpenPKG 2.0
  • OpenPKG OpenPKG 2.1
  • OpenPKG OpenPKG CURRENT
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 ES
  • Samba Samba 3.0.2
  • Samba Samba 3.0.2a
  • Samba Samba 3.0.3
  • Samba Samba 3.0.4
  • Slackware Slackware Linux 10.0
  • Slackware Slackware Linux 8.1
  • Slackware Slackware Linux 9.0
  • Slackware Slackware Linux 9.1
  • Slackware Slackware Linux current
  • SuSE SuSE eMail Server III
  • SUSE SuSE Linux 8.1
  • SUSE SuSE Linux 8.2
  • SUSE SuSE Linux 9.0
  • SUSE SuSE Linux 9.1
  • SuSE SuSE Linux Connectivity Server
  • SuSE SuSE Linux Database Server
  • SuSE SuSE Linux Office Server
  • Trustix Secure Enterprise Linux 2.0
  • Trustix Secure Linux 1.5
  • Trustix Secure Linux 2.0
  • Trustix Secure Linux 2.1

Reported:

Jul 22, 2004

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 (IBM 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.

For corrections or additions please email xforce@iss.net

Return to the main page