__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerability in the in.rexecd(1M) Daemon on Kerberos Systems [Sun Alert ID: 102186] February 15, 2006 18:00 GMT Number Q-126 ______________________________________________________________________________ PROBLEM: An unprivileged local user may be able to execute arbitrary commands with elevated privileges on Kerberos systems due to a security vulnerability in the in.rexecd(1M) daemon. PLATFORM: SPARC Platform Solaris 10 without patch 120329-02 x86 Platform Solaris 10 without patch 120330-02 Note 1: Solaris 8 and Solaris 9 are not affected by this issue. Note 2: This issue only affects systems with the in.rexecd(1M) service enabled. DAMAGE: An unprivileged local user may be able to execute arbitrary commands with elevated privileges on Kerberos systems. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. An unprivileged local user may be able to ASSESSMENT: execute arbitrary commands with elevated privileges on Kerberos systems. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-126.shtml ORIGINAL BULLETIN: Sun Alert ID: 102186 http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102186-1&searchclause=%22category:security%22%2420 %22availability,%2420security%22%2420category:security ______________________________________________________________________________ [***** Start Sun Alert ID: 102186 *****] Sun(sm) Alert Notification Sun Alert ID: 102186 Synopsis: Security Vulnerability in the in.rexecd(1M) Daemon on Kerberos Systems Category: Security Product: Solaris 10 Operating System BugIDs: 6371429 Avoidance: Patch, Workaround State: Resolved Date Released: 14-Feb-2006 Date Closed: 14-Feb-2006 Date Modified: 1. Impact An unprivileged local user may be able to execute arbitrary commands with elevated privileges on Kerberos systems due to a security vulnerability in the in.rexecd(1M) daemon. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * Solaris 10 without patch 120329-02 x86 Platform * Solaris 10 without patch 120330-02 Note 1: Solaris 8 and Solaris 9 are not affected by this issue. Note 2: This issue only affects systems with the in.rexecd(1M) service enabled. To determine if a system has the in.rexecd(1M) service enabled, the svcs(1) command can be run as follows: $ svcs svc:/network/rexec:default STATE STIME FMRI online Jan_27 svc:/network/rexec:default By default, the in.rexecd(1M) service is disabled on Solaris systems. Note 3: This issue only affects systems which are configured to reference pam_krb5(5) in their pam.conf(4) file for the "other" column which is typically done as part of configuring a Kerberos client. To determine if pam_krb5(5) is configured for the "other" service in the "/etc/pam.conf" file the following command can be run: $ egrep "^other.*krb5" /etc/pam.conf || echo "Not impacted." other auth sufficient pam_krb5.so.1 3. Symptoms There are no reliable symptoms that would indicate the described issue has been exploited to execute arbitrary commands with elevated privilege on a host. Solution Summary Top 4. Relief/Workaround Until patches can be applied, sites may wish to disable the in.rexecd(1M) service using the svcadm(1M) command. For example: # svcadm disable svc:/network/rexec:default The service can be re-enabled using svcadm(1M) using the same command syntax as above except with "enable" in place of "disable". 5. Resolution This issue is addressed in the following releases: SPARC Platform * Solaris 10 with patch 120329-02 or later x86 Platform * Solaris 10 with patch 120330-02 or later This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements. [***** End Sun Alert ID: 102186 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems 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-116: Possible Vulnerability in Windows Service ACLs Q-117: Java Web Start Vulnerability Q-118: JRE Untrusted Applet Privilege Elevation Q-119: xpdf/kdegraphics Security Update Q-120: Cumulative Security Update for Internet Explorer Q-121: Vulnerability in Windows Media Player Q-122: Vulnerability in Windows Media Player Plug-in with Non-Microsoft Internet Browsers Q-123: Vulnerability in Web Client Service Could Allow Remote Code Execution Q-124: ImageMagick security update Q-125: TACACS+ Authentication Bypass in Cisco Anomaly Detection and Mitigation Products