Audit Linux privileges now to limit compromise, escalation, and system-wide damage. Review Linux Privileges×
Low: ypbind bug fix update. Date: Wed, 28 May 2008 15:35:52 -0500 Reply-To: Troy Dawson Sender: Security Errata for Scientific Linux From: Troy Dawson Subject: Security ERRATA for ypbind on SL3.x i386/x86_64 Comments: To: "
ypbind as shipped in Red Hat Linux 5.x and 6.x is vulnerable to a localroot exploit.. ` --------------------------------------------------------------------- Red Hat, Inc. Security Advisory Synopsis: ypbind for Red Hat Linux 5.x, 6.x has a local root exploit Advisory ID: RHSA-2000:086-05 Issue date: 2000-10-16 Updated on: 2000-10-23 Product: Red Hat Linux Keywords: ypbind string format buffer overflow syslog Cross references: N/A --------------------------------------------------------------------- 1. Topic: ypbind as shipped in Red Hat Linux 5.x and 6.x is vulnerable to a local root exploit. All systems making use of NIS services are encouraged to upgrade. 2. Relevant releases/architectures: Red Hat Linux 5.0 - i386, alpha, sparc Red Hat Linux 5.1 - i386, alpha, sparc Red Hat Linux 5.2 - i386, alpha, sparc Red Hat Linux 6.0 - i386, alpha, sparc Red Hat Linux 6.1 - i386, alpha, sparc Red Hat Linux 6.2 - i386, alpha, sparc Red Hat Linux 6.2EE - i386, alpha, sparc 3. Problem description: Systems using Network Information Service, or NIS, use a daemon called ypbind to request information from a NIS server. This information is then used by the local machine. The logging code in ypbind is vulnerable to a printf string format attack which an attacker could exploit by passing ypbind a carefully crafted request. This attack can successfully lead to local root access. This problem has been corrected with these new packages. 4. Solution: If you do not use NIS, you should remove ypbind: rpm -e ypbind Otherwise, for each RPM for your particular architecture, run: rpm -Fvh [filename] where filename is the name of the RPM. You should then make sure that the new ypbind is running by issuing: /etc/rc.d/init.d/ypbind restart 5. Bug IDs fixed ( for more info): N/A 6. RPMs required: Red Hat Linux 5.x: alpha: sparc: i386: sources: Red Hat Linux 6.x: alpha: sparc: i386: sources: 7. Verification: MD5 sum Package Name -------------------------------------------------------------------------- 507ff0e63468e829b2c917789ba2fedd 5.2/SRPMS/ypbind-3.3-10.src.rpm 127274f9828d27f895e8d8eee8d38db6 5.2/alpha/ypbind-3.3-10.alpha.rpm 7bbf68a42a3c996c6f69b5ffaf2911f7 5.2/i386/ypbind-3.3-10.i386.rpm 3d0cd8b8700182b9b815525e1f99c82d 5.2/sparc/ypbind-3.3-10.sparc.rpm d8caa439a1b6c7b26f843bacd01c65f8 6.2/SRPMS/ypbind-1.7-0.6.x.src.rpm 3a426e3060d31aa37b2a41d973ac3f63 6.2/alpha/ypbind-1.7-0.6.x.alpha.rpm 411017238af9a0a8891bd3078547336c 6.2/i386/ypbind-1.7-0.6.x.i386.rpm 3beff51d6a0292fd9d50fe24d07097ac 6.2/sparc/ypbind-1.7-0.6.x.sparc.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at: You can verify each package with the following command: rpm --checksig If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: rpm --checksig --nogpg 8. References: N/A Copyright(c) 2000 Red Hat, Inc. `. Red Hat Linux warns of a critical ypbind local root exploit, advising immediate upgrades to prevent access risks.. local Access, Red Hat Linux, ypbind Exploit, Privilege Escalation, NIS Service. . Severity: Critical. LinuxSecurity.com Team
Security problems have been found in the client code of the NIS (Network Information System, aka yp - yellow pages) subsytem.. ______________________________________________________________________________ SuSE Security Announcement Package: ypbind/ypclient Announcement-ID: SuSE-SA:2000:042 Date: Wednesday, October 18th, 2000 19:15 MEST Affected SuSE versions: 6.0, 6.1, 6.2, 6.3, 6.4, 7.0 Vulnerability Type: possible remote root compromise Severity (1-10): 8 SuSE default package: yes (starting with SuSE-6.4) Other affected systems: Linux systems using this NIS implementation Content of this advisory: 1) security vulnerability resolved: ypbind/ypclient problem description, discussion, solution and upgrade information 2) pending vulnerabilities, solutions, workarounds 3) standard appendix (further information) ______________________________________________________________________________ 1) problem description, brief discussion, solution, upgrade information Security problems have been found in the client code of the NIS (Network Information System, aka yp - yellow pages) subsytem. SuSE distributions before SuSE-6.1 came with the original ypbind program, SuSE-6.2 and later included the ypbind-mt NIS client implementation. ypbind-3.3 (the earlier version) has a format string parsing bug if it is run in debug mode, and (discovered by Olaf Kirch ) leaks file descriptors under certain circumstances which can lead to a DoS. In addition, ypbind-3.3 may suffer from buffer overflows. ypbind-mt, the software shipped with SuSE distributions starting with SuSE-6.2, suffers from a single format string parsing bug. Some of these bugs could allow remote attackers to execute arbitrary code as root. During code audit and testing it turned out that the ypbind-3.x softwarein the SuSE-6.1 distribution and earlier needs a major overhaul to make it work both reliable and secure with respect to errors in the code. Basically, this is what happened when Thorsten Kukuk wrote ypbind-mt from scratch in 1998. For the same reason, we are currently unable to produce a working security update package which fixes the known and yet unknown (there may be more) problems in the ypclient packages in the SuSE-6.1 distribution and older. The only efficient workaround for the SuSE-6.1 distribution and older against these bugs for an untrusted, hostile environment is to upgrade to a new distribution base (SuSE-7.0 is recommended) and use the ypclient update packages for this distribution. As of today, there is no exploit known to exist in the wild. For SuSE-6.2 and later distributions we provide update packages as listed below. We recommend to download and install these packages on systems that are NIS/yp clients. Please note that the sources for the ypclient package are contained within the ypserv source rpm. Download the update package from locations described below and install the package with the command `rpm -Uhv file.rpm'. The md5sum for each file is in the line below. You can verify the integrity of the rpm files using the command `rpm --checksig --nogpg file.rpm', independently from the md5 signatures below. i386 Intel Platform: SuSE-7.0 76e4e7f60791db16c5e36fb5dbf60b65 source rpm: e2b1dccaec003f54e4ebbdef84d99a10 SuSE-6.4 e485ea27264fb9c4f890cdf7605ffa30 source rpm: c61c6df2ba1fef2369406b2dcbcd25f1 SuSE-6.3 c1a10cc0a3f72242b136be921f9ae0c1 source rpm: 6f47a880d5e7175dc2b5ff0116d7de4d SuSE-6.2 9050e63cb9f7fac4997968760292a6f1 source rpm: 7ecfaffd8cdb68f73adfd1d6fd27ed39 SuSE-6.1 and older: Please see the problem description above. Sparc Platform: SuSE-7.0 1a38d25c8647f010e2a9879f28de4adf source rpm: 6ba9200e49210f98ca845107b034b981 AXP Alpha Platform: SuSE-6.4 6aea95ca27245eb3df72da7596af3321 source rpm: a4bf635b9ee4bdefc29b7e6e1cf0cf41 SuSE-6.3 b68f8690b7dc554ac9098c83f9c633cd source rpm: ef0a026d078847d0958118bbbc46b99e PPC Power PC Platform: SuSE-6.4 26080b1443a3daa1de64c876ae36e6f2 source rpm: 4f0904d73c98c8b9737d5ac34b7a4dd5 ______________________________________________________________________________ 2) Pending vulnerabilities in SuSE Distributions and Workarounds: Another security announcement is following this advisory. ______________________________________________________________________________ 3) standard appendix: SuSE runs two security mailing lists to which any interested party may subscribe:
The version of nis as distributed in Debian GNU/Linux 2.1 and 2.2 contains an ypbind package with a security problem.. - ------------------------------------------------------------------------ Debian Security Advisory
Get the latest Linux and open source security news straight to your inbox.