===================================================================== CERT-Renater Note d'Information No. 2004/VULN363 _____________________________________________________________________ DATE : 25/08/2004 HARDWARE PLATFORM(S) : / OPERATING SYSTEM(S) : Systems running CDE Mailer dtmail. ====================================================================== Sun(sm) Alert Notification * Sun Alert ID: 57627 * Synopsis: Buffer Overflow in the CDE Mailer dtmail(1X) * Category: Security * Product: Solaris * BugIDs: 5038601 * Avoidance: Workaround, Patch * State: Resolved * Date Released: 23-Aug-2004 * Date Closed: 23-Aug-2004 * Date Modified: 1. Impact Unprivileged local users may be able to gain unauthorized "Group ID" (gid) mail privileges due to a buffer overflow in the CDE Mailer (dtmail(1X)). This would allow users with access to a mail server the ability to read, modify, and delete the e-mail of other users in "/var/mail". Sun acknowledges, with thanks, iDEFENSE for contacting us regarding this issue. For additional information regarding this issue, please see: [1]http://www.idefense.com/application/poi/display?type=vulnerabilitie s 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * CDE 1.4 for Solaris 8 without patch 109613-07 * CDE 1.5 for Solaris 9 without patch 112810-06 x86 Platform * CDE 1.4 for Solaris 8 without patch 109614-07 * CDE 1.5 for Solaris 9 without patch 113870-05 Note: Solaris 7 is not affected by this issue. 3. Symptoms There are no symptoms that would indicate the described issue has been exploited to gain unauthorized "gid" mail access to a host. SOLUTION SUMMARY: 4. Relief/Workaround To work around the described issue, remove the "set-group-ID" bit from dtmail(1X) by doing the following: # chmod 0555 /usr/dt/bin/dtmail Note: Removing the "gid" bit from dtmail(1X) may make it impossible to read NFS mounted mail boxes. 5. Resolution This issue is addressed in the following releases: SPARC Platform * CDE 1.4 for Solaris 8 with patch 109613-07 or later * CDE 1.5 for Solaris 9 with patch 112810-06 or later x86 Platform * CDE 1.4 for Solaris 8 with patch 109614-07 or later * CDE 1.5 for Solaris 9 with patch 113870-05 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. Copyright 2000-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. _________________________________________________________________ _________________________________________________________________ APPLIES TO: ATTACHMENTS: References 1. http://www.idefense.com/application/poi/display?type=vulnerabilities ====================================================================== ========================================================= Les serveurs de référence du CERT-Renater http://www.urec.fr/securite http://www.cru.fr/securite http://www.renater.fr ========================================================= + CERT-RENATER | tel : 01-53-94-20-44 + + 151 bd de l'Hopital | fax : 01-53-94-20-41 + + 75013 Paris | email: certsvp@renater.fr + =========================================================