__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Center ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Gauntlet Firewall CSMAP and smap/smapd Buffer Overflow Vulnerability [PGP Security Bulletin 9/4/01] September 7, 2001 20:00 GMT Number L-140 ______________________________________________________________________________ PROBLEM: A buffer overflow vulnerability has been identified in the smap/smapd and CSMAP mail proxy deamons used with several firewall products. PLATFORM: smap/smapd Gauntlet for UNIX versions 5.x PGP e-ppliance 300 series version 1.0 McAfee e-ppliance 100 and 120 series CSMAP Gauntlet for UNIX version 6.0 PGP e-ppliance 300 series versions 1.5, 2.0 PGP e-ppliance 1000 series versions 1.5, 2.0 McAfee WebShield for Solaris v4.1 Note: The smap/smapd programs are included with security products from other vendors so more vulnerable systems may be added to this bulletin at a later date. DAMAGE: If exploited this buffer overflow could allow arbitrary shell commands with the privileges of the owner of the corresponding daemon. SOLUTION: Apply patches. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. The vulnerable deamons are responsible for ASSESSMENT: handling e-mail transactions for both inbound and outbound traffic and normally run as an unprivileged user. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/l-140.shtml ORIGINAL BULLETIN: http://www.pgp.com/support/product-advisories/csmap.asp PATCHES: NAI: ftp://ftp.nai.com/pub/security/ PGP: http://www.pgp.com/naicommon/download/upgrade/upgrades-patch.asp ______________________________________________________________________________ [****** Start PGP Security Advisory ******] CSMAP and smap/smapd BUFFER OVERFLOW VULNERABILITY ADVISORY Title: Gauntlet Firewall for Unix and WebShield CSMAP and smap/smapd Buffer Overflow Vulnerability Advisory Date: September 4, 2001 Author: Gauntlet Firewall Engineering Background: A security vulnerability has been discovered in smap/smapd on the following products: * Gauntlet for Unix versions 5.x * PGP e-ppliance 300 series version 1.0 * McAfee e-ppliance 100 and 120 series A security vulnerability has been discovered in CSMAP on the following products: * Gauntlet for Unix version 6.0 * PGP e-ppliance 300 series versions 1.5, 2.0 * PGP e-ppliance 1000 series versions 1.5, 2.0 * McAfee WebShield for Solaris v4.1 This security vulnerability is a Buffer Overflow in the smap/smapd and CSMAP daemons. The smap/smapd and CSMAP daemons are responsible for handling e-mail transactions for both inbound and outbound e-mail. It is possible to exploit this Buffer Overflow vulnerability to execute arbitrary shell commands with the same privileges as the owner of the corre- sponding daemon. Solution: A patch to repair this vulnerability is available for all products listed above at ftp://ftp.nai.com/pub/security/ and http://www.pgp.com/naicommon/download/upgrade/upgrades-patch.asp for the Gauntlet and PGP e-ppliance products and www.mcafeeb2b.com for the McAfee e-ppliance and WebShield products. This patch is a mandatory patch that includes a new version of the corresponding daemons and addresses the buffer overflow. Instructions for installing the patch are included in the README file contained within the patch. NOTE FOR HP-UX GAUNTLET v.5.x USERS: Gauntlet v.5.x users on HP-UX must have HP-UX patch PHCO_16723 or later installed for the smap/smapd patch to function properly, as there is a dependency upon the library contained in that HP patch. The smap/smapd patch for Gauntlet v.5.x makes a check for the presence of the latest iteration of this patch (PHCO_23684). If this patch is not present, it will inform the user that PHCO_16723 or later is required and prompt the user if they want to continue. Failure to have PHCO_16723 or later will prevent all e-mail traffic if the smap/smapd patch is installed. PHCO_23684 is available from the HP support web site. The required library is built into HP-UX v.11.0, so Gauntlet v.6.0 users on HP-UX do not require an additional patch. CREDITS: PGP Security acknowledges one of its partners, Garrison Technologies, Inc., for notification about this problem. [****** End PGP Security Advisory ******] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of PGP Security for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Center, 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) L-130: Multiple DoS Vulnerabilities in Cisco Broadband Operating System (CBOS) L-131: IBM AIX telnetd Buffer Overflow L-132: Microsoft Cumulative Patch for IIS L-133: Sendmail Debugger Arbitrary Code Execution Vulnerability L-134: HP Security Vulnerability in rlpdaemon L-135: SGI File Globbing Vulnerability in ftpd L-136: HP-UX Security Vulnerability in PRM L-137: FreeBSD lpd Remote Root Vulnerability L-138: Sun in.lpd Vulnerability L-139: Microsoft IIS "%u encoding IDS bypass vulnerability"