__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN openssh Security Update [RHSA-2006:0044-14] March 7, 2006 19:00 GMT Number Q-142 [REVISED 4 Oct 2006] [REVISED 5 Dec 2006] [REVISED 18 Dec 2006] [REVISED 15 June 2007] ______________________________________________________________________________ PROBLEM: An arbitrary command execution flaw was discovered in the way scp copies files locally. PLATFORM: Red Hat Desktop, Enterprise Linux AS, ES, WS (v. 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor HP-UX B.11.00, B.11.11, B.11.23 Solaris 9 and 10 Operating Systems DAMAGE: It is possible for a local attacker to create a file with a carefully crafted name that could execute arbitrary commands as the user running scp. SOLUTION: Apply current patches. ______________________________________________________________________________ VULNERABILITY The risk is LOW. A local attacker could execute arbitrary ASSESSMENT: commands. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-142.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2006-0044.html ADDITIONAL LINKS: Red Hat RHSA-2006:0698-8 https://rhn.redhat.com/errata/RHSA-2006-0698.html Visit Hewlett-Packard's Subscription Service for: HPSBUX02178 SSRT061267 rev. 2 Sun Alert ID: 102961 http://www.sunsolve.sun.com/search/document.do?assetkey=1-26-102961-1 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2006-0225 ______________________________________________________________________________ REVISION HISTORY: 10/04/2006 - revised to add a link to Red Hat RHSA-2006:0698-8 for Red Hat Enterprise Linux AS, ES, WS (v. 2.1) and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor. 12/05/2006 - revised add a link to Hewlett-Packard HPSBUX02178 SSRT061267 rev. 1 for HP-UX B.11.00, B.11.11, B.11.23. 12/13/2006 - revised to revise Hewlett-Packard HPSBUX02178 SSRT061267 rev. 2 for HP-UX B.11.00, B.11.11, B.11.23. 06/15/2007 - revised Q-142 to add a link to Sun Alert ID: 102961 for Solaris 9 and 10 Operating Systems. [***** Start RHSA-2006:0044-14 *****] Low: openssh security update Advisory: RHSA-2006:0044-14 Type: Security Advisory Issued on: 2006-03-07 Last updated on: 2006-03-07 Affected Products: Red Hat Desktop (v. 4) Red Hat Enterprise Linux AS (v. 4) Red Hat Enterprise Linux ES (v. 4) Red Hat Enterprise Linux WS (v. 4) CVEs (cve.mitre.org): CVE-2006-0225 Details Updated openssh packages that fix bugs in sshd and add auditing of user logins are now available for Red Hat Enterprise Linux 4. This update has been rated as having low security impact by the Red Hat Security Response Team. OpenSSH is OpenBSD's SSH (Secure SHell) protocol implementation. This package includes the core files necessary for both the OpenSSH client and server. An arbitrary command execution flaw was discovered in the way scp copies files locally. It is possible for a local attacker to create a file with a carefully crafted name that could execute arbitrary commands as the user running scp to copy files locally. The Common Vulnerabilities and Exposures project (cve.mitre.org) assigned the name CVE-2006-0225 to this issue. The following issue has also been fixed in this update: * If the sshd service was stopped using the sshd init script while the main sshd daemon was not running, the init script would kill other sshd processes, such as the running sessions. For example, this could happen when the 'service sshd stop' command was issued twice. Additionally, this update implements auditing of user logins through the system audit service. All users of openssh should upgrade to these updated packages, which resolve these issues. Solution Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command: up2date For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system: http://www.redhat.com/docs/manuals/enterprise/ Updated packages Red Hat Desktop (v. 4) SRPMS: openssh-3.9p1-8.RHEL4.12.src.rpm 2578e547e59c73fdca370de8e98c5503 IA-32: openssh-3.9p1-8.RHEL4.12.i386.rpm 21757cc7559d10b6c0d129ad09f7457b openssh-askpass-3.9p1-8.RHEL4.12.i386.rpm d8f08434752602146534024a54d8597e openssh-askpass-gnome-3.9p1-8.RHEL4.12.i386.rpm 73f9af460966644a1996be486cbd2cfc openssh-clients-3.9p1-8.RHEL4.12.i386.rpm d753e37401a9a8bc837232c8c04565fe openssh-server-3.9p1-8.RHEL4.12.i386.rpm ed7c9a6d9dcdb8104da21f65fb318c8f x86_64: openssh-3.9p1-8.RHEL4.12.x86_64.rpm 538abab594c138be17494e21eef0f8c0 openssh-askpass-3.9p1-8.RHEL4.12.x86_64.rpm 74fb1a3069203034430479b873e229e5 openssh-askpass-gnome-3.9p1-8.RHEL4.12.x86_64.rpm 9eaf5f509a4442aa921751a73bd29e94 openssh-clients-3.9p1-8.RHEL4.12.x86_64.rpm 08f183cef545498fc81ee61fba9e5ef5 openssh-server-3.9p1-8.RHEL4.12.x86_64.rpm eda71f6f994a92a323058e9e8c2ba4f9 Red Hat Enterprise Linux AS (v. 4) SRPMS: openssh-3.9p1-8.RHEL4.12.src.rpm 2578e547e59c73fdca370de8e98c5503 IA-32: openssh-3.9p1-8.RHEL4.12.i386.rpm 21757cc7559d10b6c0d129ad09f7457b openssh-askpass-3.9p1-8.RHEL4.12.i386.rpm d8f08434752602146534024a54d8597e openssh-askpass-gnome-3.9p1-8.RHEL4.12.i386.rpm 73f9af460966644a1996be486cbd2cfc openssh-clients-3.9p1-8.RHEL4.12.i386.rpm d753e37401a9a8bc837232c8c04565fe openssh-server-3.9p1-8.RHEL4.12.i386.rpm ed7c9a6d9dcdb8104da21f65fb318c8f IA-64: openssh-3.9p1-8.RHEL4.12.ia64.rpm 4e7aa26129bf1905d97faf99b8e116b4 openssh-askpass-3.9p1-8.RHEL4.12.ia64.rpm 9d66c16e57e3c21b3678dd12d1851f10 openssh-askpass-gnome-3.9p1-8.RHEL4.12.ia64.rpm 11ff74898dfe0ace6fc2f0ff5e89c24c openssh-clients-3.9p1-8.RHEL4.12.ia64.rpm 70fc3a2a4b8f641203673b1f62282c33 openssh-server-3.9p1-8.RHEL4.12.ia64.rpm de9c83fa4b93dea3f8d42b4df4fd569a PPC: openssh-3.9p1-8.RHEL4.12.ppc.rpm 46b6e719c56a74aa46e191c2f36999e3 openssh-askpass-3.9p1-8.RHEL4.12.ppc.rpm 7cd82332e39423ba4698875b31e43623 openssh-askpass-gnome-3.9p1-8.RHEL4.12.ppc.rpm 387227b69d7a1be97fa3368c84907f41 openssh-clients-3.9p1-8.RHEL4.12.ppc.rpm 8e3c9db269da8a446baa6e0f61faf43c openssh-server-3.9p1-8.RHEL4.12.ppc.rpm dd99de85e9e030b6624fb698e3775322 s390: openssh-3.9p1-8.RHEL4.12.s390.rpm 6f17b04da53dd4deba4c6a43983e94af openssh-askpass-3.9p1-8.RHEL4.12.s390.rpm 48ef2ac4db2a7d9596de43f9dc27cdff openssh-askpass-gnome-3.9p1-8.RHEL4.12.s390.rpm 9a2d946cecb4fd484c769ebd54541b2e openssh-clients-3.9p1-8.RHEL4.12.s390.rpm f9f5373f55575664a575caf776ffde43 openssh-server-3.9p1-8.RHEL4.12.s390.rpm 6a79297b27544cc7fc7d971d5979fccd s390x: openssh-3.9p1-8.RHEL4.12.s390x.rpm ca31fdbf5a061487d602174f9fe23f48 openssh-askpass-3.9p1-8.RHEL4.12.s390x.rpm cddba42d826ab7825058d1a07b0cee80 openssh-askpass-gnome-3.9p1-8.RHEL4.12.s390x.rpm eff616e124743dc63d2d9f3789f4da18 openssh-clients-3.9p1-8.RHEL4.12.s390x.rpm 579853e1cd8415e7f24c4c477ea919e6 openssh-server-3.9p1-8.RHEL4.12.s390x.rpm 0cd9686cdfa1f751fc7c39783fbf29ae x86_64: openssh-3.9p1-8.RHEL4.12.x86_64.rpm 538abab594c138be17494e21eef0f8c0 openssh-askpass-3.9p1-8.RHEL4.12.x86_64.rpm 74fb1a3069203034430479b873e229e5 openssh-askpass-gnome-3.9p1-8.RHEL4.12.x86_64.rpm 9eaf5f509a4442aa921751a73bd29e94 openssh-clients-3.9p1-8.RHEL4.12.x86_64.rpm 08f183cef545498fc81ee61fba9e5ef5 openssh-server-3.9p1-8.RHEL4.12.x86_64.rpm eda71f6f994a92a323058e9e8c2ba4f9 Red Hat Enterprise Linux ES (v. 4) SRPMS: openssh-3.9p1-8.RHEL4.12.src.rpm 2578e547e59c73fdca370de8e98c5503 IA-32: openssh-3.9p1-8.RHEL4.12.i386.rpm 21757cc7559d10b6c0d129ad09f7457b openssh-askpass-3.9p1-8.RHEL4.12.i386.rpm d8f08434752602146534024a54d8597e openssh-askpass-gnome-3.9p1-8.RHEL4.12.i386.rpm 73f9af460966644a1996be486cbd2cfc openssh-clients-3.9p1-8.RHEL4.12.i386.rpm d753e37401a9a8bc837232c8c04565fe openssh-server-3.9p1-8.RHEL4.12.i386.rpm ed7c9a6d9dcdb8104da21f65fb318c8f IA-64: openssh-3.9p1-8.RHEL4.12.ia64.rpm 4e7aa26129bf1905d97faf99b8e116b4 openssh-askpass-3.9p1-8.RHEL4.12.ia64.rpm 9d66c16e57e3c21b3678dd12d1851f10 openssh-askpass-gnome-3.9p1-8.RHEL4.12.ia64.rpm 11ff74898dfe0ace6fc2f0ff5e89c24c openssh-clients-3.9p1-8.RHEL4.12.ia64.rpm 70fc3a2a4b8f641203673b1f62282c33 openssh-server-3.9p1-8.RHEL4.12.ia64.rpm de9c83fa4b93dea3f8d42b4df4fd569a x86_64: openssh-3.9p1-8.RHEL4.12.x86_64.rpm 538abab594c138be17494e21eef0f8c0 openssh-askpass-3.9p1-8.RHEL4.12.x86_64.rpm 74fb1a3069203034430479b873e229e5 openssh-askpass-gnome-3.9p1-8.RHEL4.12.x86_64.rpm 9eaf5f509a4442aa921751a73bd29e94 openssh-clients-3.9p1-8.RHEL4.12.x86_64.rpm 08f183cef545498fc81ee61fba9e5ef5 openssh-server-3.9p1-8.RHEL4.12.x86_64.rpm eda71f6f994a92a323058e9e8c2ba4f9 Red Hat Enterprise Linux WS (v. 4) SRPMS: openssh-3.9p1-8.RHEL4.12.src.rpm 2578e547e59c73fdca370de8e98c5503 IA-32: openssh-3.9p1-8.RHEL4.12.i386.rpm 21757cc7559d10b6c0d129ad09f7457b openssh-askpass-3.9p1-8.RHEL4.12.i386.rpm d8f08434752602146534024a54d8597e openssh-askpass-gnome-3.9p1-8.RHEL4.12.i386.rpm 73f9af460966644a1996be486cbd2cfc openssh-clients-3.9p1-8.RHEL4.12.i386.rpm d753e37401a9a8bc837232c8c04565fe openssh-server-3.9p1-8.RHEL4.12.i386.rpm ed7c9a6d9dcdb8104da21f65fb318c8f IA-64: openssh-3.9p1-8.RHEL4.12.ia64.rpm 4e7aa26129bf1905d97faf99b8e116b4 openssh-askpass-3.9p1-8.RHEL4.12.ia64.rpm 9d66c16e57e3c21b3678dd12d1851f10 openssh-askpass-gnome-3.9p1-8.RHEL4.12.ia64.rpm 11ff74898dfe0ace6fc2f0ff5e89c24c openssh-clients-3.9p1-8.RHEL4.12.ia64.rpm 70fc3a2a4b8f641203673b1f62282c33 openssh-server-3.9p1-8.RHEL4.12.ia64.rpm de9c83fa4b93dea3f8d42b4df4fd569a x86_64: openssh-3.9p1-8.RHEL4.12.x86_64.rpm 538abab594c138be17494e21eef0f8c0 openssh-askpass-3.9p1-8.RHEL4.12.x86_64.rpm 74fb1a3069203034430479b873e229e5 openssh-askpass-gnome-3.9p1-8.RHEL4.12.x86_64.rpm 9eaf5f509a4442aa921751a73bd29e94 openssh-clients-3.9p1-8.RHEL4.12.x86_64.rpm 08f183cef545498fc81ee61fba9e5ef5 openssh-server-3.9p1-8.RHEL4.12.x86_64.rpm eda71f6f994a92a323058e9e8c2ba4f9 (The unlinked packages above are only available from the Red Hat Network) Bugs fixed (see bugzilla for more information) 170466 - CVE-2006-0225 local to local copy uses shell expansion twice 170468 - init script kills all running sshd's if listening server is stopped 170568 - add audit message to sshd References http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0225 Keywords audit, initscript, killed, system These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from: https://www.redhat.com/security/team/key/#package The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/ [***** End RHSA-2006:0044-14 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) Q-132: Heimdal Q-133: Security Vulnerability in the hsfs(7FS) File System Q-134: Metamail Security Update Q-135: PostgreSQL Database Privilege Escalation Vulnerability Q-136: HP System Management Homepage (SMH) Running on Windows Q-137: Oracle Security Update Q-138: Apple Security Update 2006-001 Q-139: libtasn1-2 Q-140: Oracle Diagnostic Tools do not properly authenticate users Q-141: tar Security Update