-----BEGIN PGP SIGNED MESSAGE----- - ---EXTERNAL RELEASE---EXTERNAL RELEASE---EXTERNAL RELEASE---EXTERNAL RELEASE--- ======= ============ ====== ====== ======= ============== ======= ======= === === ==== ====== ====== === =========== ======= ======= === =========== === ======= === === === ==== === ===== === ======= ============== ===== === ===== ======= ============ ===== = ===== EMERGENCY RESPONSE SERVICE OUTSIDE ADVISORY REDISTRIBUTION 15 August 1996 12:00 GMT Number: ERS-OAR-E01-1996:016.1 =============================================================================== The IBM-ERS Outside Advisory Redistribution is designed to provide customers of the IBM Emergency Response Service with access to the security advisories sent out by other computer security incident response teams, vendors, and other groups concerned about security. IBM makes no representations and assumes no responsibility for the contents or accuracy of the advisories themselves. IBM-ERS is forwarding the following information from CERT/CC. Contact information for CERT/CC is included in the forwarded text below; please contact them if you have any questions or need further information. =============================================================================== ********************** FORWARDED INFORMATION STARTS HERE ********************** CERT(sm) Advisory CA-96.18 August 14, 1996 Topic: Vulnerability in fm_fls - ----------------------------------------------------------------------------- The CERT Coordination Center has received reports of a configuration problem in the floating license server for Adobe FrameMaker (fm_fls) that enables non-privileged users to make any file world-readable and world-writable. Exploitation scripts are publicly available. Any system that includes a setuid version of fm_fls is vulnerable. Adobe Systems reports that the following Adobe products use fm_fls: Frame Products, version 4 FrameMaker FrameViewer FrameBuilder Frame Products, version 5 FrameMaker FrameMaker+SGML The CERT/CC team recommends installing a patch from your vendor. Until you can obtain a patch, we urge you to remove the setuid bit from all instances of fm_fls. As we receive additional information relating to this advisory, we will place it in ftp://info.cert.org/pub/cert_advisories/CA-96.18.README We encourage you to check our README files regularly for updates on advisories that relate to your site. - ----------------------------------------------------------------------------- I. Description FrameMaker is a commercial text-processing software package available from Adobe Systems, Inc. It is also available from other vendors as part of their product line offering. When FrameMaker versions 4.X or 5.X are installed, the installation script provided with FrameMaker installs a file named fm_fls that is setuid to installing user, typically the root user. fm_fls is typically found in the FrameMaker installation tree. Consult your documentation for precise location of fm_fls. When fm_fls runs, it opens up a log file, which by default is /tmp/fm_fls.log. In normal operation, fm_fls writes logging information about license usage to the named log file. However, when given invalid arguments, fm_fls writes these arguments to the log file, changes the owner of the log file to root or whoever installed fm_fls, changes the permissions to world-readable and world-writable, and then exits. Therefore, by giving fm_fls invalid arguments and naming another file as the log file, a user can make that file world-readable and world-writable. Adobe Systems reports that fm_fls is installed as setuid root because it registers the license manager program with the the program number mapper, also known as portmap or rpcbind. On some platforms, only the original user (in this case root) or the root user has permission to remove a registration. fm_fls will attempt to remove a previous registration when it is restarted. With fm_fls setuid root, restarting fm_fls ensures that all changes made in the program number mapper are successful because they are done by the same user. The floating license servers shipped with and installed by FrameMaker 4.X and 5.X are vulnerable. Similarly, any other system that includes a setuid version of fm_fls is vulnerable. Exploitation scripts are publicly available. II. Impact Anyone with access to an account on an unpatched system can create world-writable and world-readable files; it is then easy to gain root access. III. Solution Obtain and install a vendor patch when it becomes available. In the meantime, remove the setuid bit from all instances of fm_fls. To determine if a system is vulnerable and to disable the programs that are believed to be vulnerable, use the find command we provide below or a variant. Consult your local system documentation to determine how to tailor the find program on your system. You will need to run the find command on each system you maintain because the command examines files on the local disk only. Substitute the names of your local file systems for FILE_SYSTEM_NAMES in the example. Example local file system names are /, /usr, and /var. To find all instances of fm_fls and then to remove the setuid bit from them, do the following as root. Note that this is one long command, though we have separated it onto two lines using a back-slash. find FILE_SYSTEM_NAMES -xdev -type f -name fm_fls -perm -04000 \ -print -ok chmod u-s '{}' \; This command will find all files on a system that are - only in the file system you name (FILE_SYSTEM_NAMES -xdev) - regular files (-type f) - named fm_fls - setuid (-perm -04000) Once found, those files will - have their names printed (-print) - have the setuid mode removed, but only if you type `y' in response to the prompt (-ok chmod u-s '{}' \;) With the setuid root bit removed, fm_fls must then be started each time by the same user. That user should be root so that the previous registration can be successfully removed no matter what platform fm_fls is running on. In addition, the log file, license.log, should be stored in a non-public directory; specify this new location with the -log command line argument. Consult the documentation that comes with FrameMaker versions 4.X and 5.X to learn how to do this on your system. - --------------------------------------------------------------------------- The CERT Coordination Center staff thanks Adobe Systems for their support in the development of this advisory. - --------------------------------------------------------------------------- If you believe that your system has been compromised, contact the CERT Coordination Center or your representative in the Forum of Incident Response and Security Teams (FIRST). We strongly urge you to encrypt any sensitive information you send by email. The CERT Coordination Center can support a shared DES key and PGP. Contact the CERT staff for more information. Location of CERT PGP key ftp://info.cert.org/pub/CERT_PGP.key CERT Contact Information - ------------------------ Email cert@cert.org Phone +1 412-268-7090 (24-hour hotline) CERT personnel answer 8:30-5:00 p.m. EST (GMT-5)/EDT(GMT-4), and are on call for emergencies during other hours. Fax +1 412-268-6989 Postal address CERT Coordination Center Software Engineering Institute Carnegie Mellon University Pittsburgh PA 15213-3890 USA CERT publications, information about FIRST representatives, and other security-related information are available for anonymous FTP from http://www.cert.org/ ftp://info.cert.org/pub/ CERT advisories and bulletins are also posted on the USENET newsgroup comp.security.announce To be added to our mailing list for CERT advisories and bulletins, send your email address to cert-advisory-request@cert.org Copyright 1996 Carnegie Mellon University This material may be reproduced and distributed without permission provided it is used for noncommercial purposes and the copyright statement is included. CERT is a service mark of Carnegie Mellon University. This file: ftp://info.cert.org/pub/cert_advisories/CA-96.18.fm_fls http://www.cert.org click on "CERT Advisories" *********************** FORWARDED INFORMATION ENDS HERE *********************** =============================================================================== IBM's Internet Emergency Response Service (IBM-ERS) is a subscription-based Internet security response service that includes computer security incident response and management, regular electronic verification of your Internet gateway(s), and security vulnerability alerts similar to this one that are tailored to your specific computing environment. By acting as an extension of your own internal security staff, IBM-ERS's team of Internet security experts helps you quickly detect and respond to attacks and exposures across your Internet connection(s). As a part of IBM's Business Recovery Services organization, the IBM Internet Emergency Response Service is a component of IBM's SecureWay(tm) line of security products and services. From hardware to software to consulting, SecureWay solutions can give you the assurance and expertise you need to protect your valuable business resources. To find out more about the IBM Internet Emergency Response Service, send an electronic mail message to ers-sales@vnet.ibm.com, or call 1-800-742-2493 (Prompt 4). IBM-ERS maintains a site on the World Wide Web at http://www.ers.ibm.com/. Visit the site for information about the service, copies of security alerts, team contact information, and other items. IBM-ERS uses Pretty Good Privacy* (PGP*) as the digital signature mechanism for security vulnerability alerts and other distributed information. The IBM-ERS PGP* public key is available from http://www.ers.ibm.com/team-info/pgpkey.html. "Pretty Good Privacy" and "PGP" are trademarks of Philip Zimmerman. IBM-ERS is a Member Team of the Forum of Incident Response and Security Teams (FIRST), a global organization established to foster cooperation and response coordination among computer security teams worldwide. The information in this document is provided as a service to customers of the IBM Emergency Response Service. Neither International Business Machines Corporation, Integrated Systems Solutions Corporation, 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 contained herein, or represents that its use would not infringe any 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 IBM or its subsidiaries. The views and opinions of authors expressed herein do not necessarily state or reflect those of IBM or its subsidiaries, and may not be used for advertising or product endorsement purposes. - ---EXTERNAL RELEASE---EXTERNAL RELEASE---EXTERNAL RELEASE---EXTERNAL RELEASE--- -----BEGIN PGP SIGNATURE----- Version: 2.7.1 iQCUAwUBMhMOXPWDLGpfj4rlAQEOnAP46xWwP2/qdvw01hDlhgbfs+kQCWC9EYMp p8BQCSJoPDB7nfnKVy6bCGMov5u/e3zJZ0uGEIo2xSKPJ/r/nmTgWfD1ii7ySifh jF6QeadYkS3a9gK3Js4+jXXZJOkZnyvTx8At1HrTKViap+TtvkvYSQaFdPuD37tY LRpwtVV9NQ== =xP8O -----END PGP SIGNATURE-----