document id   Synopsis   Date
57627   Buffer Overflow in the CDE Mailer dtmail(1X)   23 Aug 2004

Description Top

Sun(sm) Alert Notification

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: http://www.idefense.com/application/poi/display?type=vulnerabilities

2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform

x86 Platform

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 Top

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

x86 Platform

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.