The Samba Web Administration Tool (SWAT) was found vulnerable to The Samba Web Administration Tool (SWAT) was found vulnerable to a buffer overflow in its base64 code. This buffer overflow can possibly a buffer overflow in its base64 code. This buffer overflow can possibly be exploited remotely before any authentication took place to execute arbitrary code. The same piece of vulnerable code [More...]. -----BEGIN PGP SIGNED MESSAGE----- ______________________________________________________________________________ SUSE Security Announcement Package: samba Announcement-ID: SUSE-SA:2004:022 Date: Friday, Jul 23th 2004 12:30 MEST Affected products: 8.1, 8.2, 9.0, 9.1 SUSE Linux Database Server, SUSE eMail Server III, 3.1 SUSE Linux Enterprise Server 7, 8 SUSE Linux Firewall on CD/Admin host SUSE Linux Connectivity Server SUSE Linux Office Server Vulnerability Type: remote root compromise Severity (1-10): 7 SUSE default package: no Cross References: CAN-2004-0600 CAN-2004-0686 Content of this advisory: 1) security vulnerability resolved: - buffer overflow in base64 code - buffer overflow in "mangling method hash" code problem description, discussion, solution and upgrade information 2) pending vulnerabilities, solutions, workarounds: - cadaver - kopete - wv - gnats - OpenOffice_org - mod_ssl - lha 3) standard appendix (further information) ______________________________________________________________________________ 1) problem description, brief discussion, solution, upgradeinformation The Samba Web Administration Tool (SWAT) was found vulnerable to a buffer overflow in its base64 code. This buffer overflow can possibly be exploited remotely before any authentication took place to execute arbitrary code. The same piece of vulnerable code was also used in ldapsam passdb and in the ntlm_auth tool. This vulnerability only exists on Samba 3.0.2 to 3.0.4. Another buffer overflow was found in Samba 3.0.0 and later, as well as in Samba 2.2.x. This overflow exists in the hash code of the mangling method (smb.conf: mangling method = hash), the default uses hash2 which is not vulnerable. There is no temporary workaround known. The first proof-of-concept exploits were seen on public mailing lists. After the installation was successfully completed please restart the samba daemon. /usr/sbin/rcsmb restart SWAT is called by inetd/xinetd. Therefore it is sufficient to kill all running instances of SWAT only. Please download the update package for your distribution and verify its integrity by the methods listed in section 3) of this announcement. Then, install the package using the command "rpm -Fhv file.rpm" to apply the update. Our maintenance customers are being notified individually. The packages are being offered to install from the maintenance web. Note that SLES8 packages will be delivered with a short delay. x86 Platform: SUSE Linux 9.1: eb8a66582bfa5749457ac18d518321ef d38d71df7e69ede72ae70f1e763ee688 9d95db6023323752e1705147c3a0609a dfd2c9883cfdbefc27d8a6d555d483df 117af75e8fb9d8a941a88680f813f7ba a589036769807de0fc0aa5bab67010f4 c5ef1760451cc548082ad6dad990e971 2ea69766d732ca3393a3a49256550315 6c03f36007f9172ec2c51b18796b7fed patch rpm(s): 1d4b5402e5c4d86c6da563176e4c08fb 71a324e5651388fc8386abd3ac7390e8 37bb872de17d6553cd4b3953339fff57 7e3f654697615788d6ec4a8b7befb409 4fe8afef0d7a6423e9d75059f5c3a39c 5fdd07f3ed51f1445ae9627d27288ad5 a68c8621757af909d2b94e850be7de91 3ccb1c15d3a92e3addce0006fc5f36aa f5611c3f3205bb71bb18c7aa9d89e147 source rpm(s): 28ddb7350c6d00554cbbfee069508bfa 28ddb7350c6d00554cbbfee069508bfa SUSE Linux 9.0: 9ac0a1d443e21b690fa44efdf4fbfe26 d06b6b598b068b32c5b8e53deba35781 ee96bf9888505c733c2125d0c82bc6ab d058f19c7d39a7cbad2a9e7802e18321 patch rpm(s): aec244915e9904e7ab768fc2a7f42678 975a1aa4730932384d1f714de1d97f0d 83372f5221e4d87b442896d18cb13cfb 01173f42d4c553060a3bd34e868b6036 source rpm(s): 1c593a5d8773adaf5bced92c448b1d28 SUSE Linux 8.2: be58f82e80dadb267c2a4825f4595f78 e8b0f39bc5399c47604e85fe4c5afaa8 6bceb4400311c62ba0ee3c67c307c995 75f7435be45346ec464ac601928ef5ec 25e6c997abb4d1f553d65f28c755bdd6 51db02193556b2e0f656ae3eab6e6d2c patch rpm(s): 36c9f4bf87e8c24f383243b6afa60a78 dae51ec83ebb8c4561f093275693cddd 65e4ec644fcaa6dae0e0a6eb45bd3b32 b7afa9c1ce7c738e5713ecb099997c60 9012184f0134752e93304f446f66b58b b3c54af825c8493477228a148e980fbb source rpm(s): d4191930b031916da317826c97ed2d1f SUSE Linux 8.1: bd05222b4bfb4e5f9b74d698193308b4 995a14fc6c056b6fd0f058e2998e3662 06f2b11f510feabd03a5f12011123434 patch rpm(s): 440f99b6f31364338f193f19d9ffa11c e7f3e019310b89e9d886566eb1883015 9bdff15af5aa1bcbd8b3f3f7bc0ca3da source rpm(s): 220a7c6d6321e3084a2aff660b6d0676 x86-64 Platform: SUSE Linux 9.1: 1213320f05fe517f6ba04bc42d50709f 5a82823e6084bb0a34f49ffb65a42cd0 ab4eff578e923f7669117906e8b9746b 5bbc5dadc8fe63fd6425eff47f8106ef 48430a71429570acc9b548aecd934231 6f392d6e316270195f378e6e2c9d985a 1c1fd503a6647971062242e5331b3a40 3ea19bb5407aad016a81a1c58959a3f5 f29abe0a058b7ac5bf279c58da1786e9 patch rpm(s): b2411efa394e95aaf7f99f24bfa49df4 d0f46d9895ed6e832eb084e27861e46b 772f3ee4c84c1f3a56ec8de8d84f0f9b 24cf637c5d4e457ccf9e9f0c7310aaa2 3fc53fd5832e1dcc27cd94ac71f3326a 90d8eabb5627bf35926c14efbe38715c 604605a86c494ad75e36d726f5338e92 a9fc6862320d1a5779bfdb579940aecc e26969f5d5825783b9f3772c57130658 source rpm(s): ae515af0053f16915ec17a7603f8ea4f ae515af0053f16915ec17a7603f8ea4f SUSE Linux 9.0: 45d16bdb83a27119aa9214c47436c363 488e2f2062d0a26188af0d4344090ce5 b71dd13a2eaa7e2e739051c1b3d46660 2c2d87093a5133ba06a16b951d7cdbee patch rpm(s): b97f915e2e5d0a36ee158ea904a9afb2 2c991a6b08e0d4a3e7a08df2674b6bdf 652aacdf4f9924fa116ecd6ba0be82b4 0187cf267440e0ae59cf6470506b8aff source rpm(s): 3e8959024074f53e6af4f2d5db5799c4 ______________________________________________________________________________ 2) Pending vulnerabilities in SUSE Distributions and Workarounds: - cadaver The cadaver package includes a vulnerable version of the neon library (CAN-2004-0179, CAN-2004-0398). New packages are available on our FTP servers. - kopete This update fix' a security issue in the winpopup protocol. It was possible to overwrite files via a symlink attack. New packages are available on our FTP servers. - wv This update resolves the insecure handling of temporary files. New packages are available on our FTP servers. - gnats A format string bug in gnats has been fixed that possibly allows remote command execution. New packages are available on our FTP servers. - OpenOffice_org OpenOffice_org uses a vulnerable version of libneon(CAN-2004-0179, CAN-2004-0398, missing filtering of control chars). Note that this update is marked "optional" and not "security" because of the size of the package. New packages are available on our FTP servers. - mod_ssl A remotely exploitable format string bug has been found in the logging function of mod_ssl. New packages will be available soon. - lha A source code review of lha was conducted by the SuSE Security-Team to fix all possible buffer overflows. New packages will be available soon. ______________________________________________________________________________ 3) standard appendix: authenticity verification, additional information - Package authenticity verification: SUSE update packages are available on many mirror ftp servers all over the world. While this service is being considered valuable and important to the free and open source software community, many users wish to be sure about the origin of the package and its content before installing the package. There are two verification methods that can be used independently from each other to prove the authenticity of a downloaded file or rpm package: 1) md5sums as provided in the (cryptographically signed) announcement. 2) using the internal gpg signatures of the rpm package. 1) execute the command md5sum after you downloaded the file from a SUSE ftp server or its mirrors. Then, compare the resulting md5sum with the one that is listed in the announcement. Since the announcement containing the checksums is cryptographically signed (usually using the key
Get the latest Linux and open source security news straight to your inbox.