System Security Enhancement (SSE) 020 - 12th January 1999 Problem: Security vulnerabilities have been discovered in remote login daemons on certain SCO systems. These updated binaries correct this vulnerability. Patch: A replacement binary is supplied for SCO OpenServer 5.0.5 only, SCO UnixWare 7.0.1 and earlier releases, and SCO UnixWare 2.1.3 and earlier releases. Please refer to SSE023 for OpenServer 5.0.4 and earlier releases. Installation: 1. Create a temporary directory, and copy sse020 into it: # mkdir /tmp/sse020 # cp sse020.tar.Z /tmp/sse020 2. Extract files from the tar file: # cd /tmp/sse020 # uncompress sse020.tar.Z # tar xovf sse020.tar 3. Disable the existing binary, and move it aside: - SCO UnixWare 7.0.x, SCO UnixWare 2.1.x # mv /usr/lib/iaf/in.login/scheme /usr/lib/iaf/in.login/scheme.old # chmod 000 /usr/lib/iaf/in.login/scheme.old # mv /usr/sbin/in.rshd /usr/sbin/in.rshd.old # chmod 000 /usr/sbin/in.rshd.old - SCO OpenServer 5.0.x # mv /etc/rshd /etc/rshd.old # chmod 000 /etc/rshd.old 4. Move the correct replacement binaries into place: - SCO UnixWare 7.0.x # mv scheme.uw7 /usr/lib/iaf/in.login/scheme # chmod 750 /usr/lib/iaf/in.login/scheme # chown root:bin /usr/lib/iaf/in.login/scheme # chmod u+s /usr/lib/iaf/in.login/scheme # mv in.rshd.uw7 /usr/sbin/in.rshd # chmod 555 /usr/sbin/in.rshd # chown bin:bin /usr/sbin/in.rshd - SCO UnixWare 2.1.x # mv scheme.uw2 /usr/lib/iaf/in.login/scheme # chmod 750 /usr/lib/iaf/in.login/scheme # chown root:bin /usr/lib/iaf/in.login/scheme # chmod u+s /usr/lib/iaf/in.login/scheme # mv in.rshd.uw2 /usr/sbin/in.rshd # chmod 555 /usr/sbin/in.rshd # chown bin:bin /usr/sbin/in.rshd - SCO OpenServer 5.0.x # cp rshd.osr5 /etc/rshd # chmod 711 /etc/rshd # chown bin:bin /etc/rshd 5. The replacement binary is now installed - it is not necessary to reboot your system. Disclaimer: SCO believes that this patch addresses the reported vulnerability. However, in order that it be released as soon as possible, this patch has not been fully tested or packaged to SCO's normal exacting standards. For that reason, this patch is not officially supported. Official supported and packaged fixes for current SCO products will be available in due course.