| Solaris dtsession Heap Buffer Overflow Vulnerability
Author : NSFOCUS <firstname.lastname@example.org>
NSFOCUS Security Advisory(SA2003-03)
Topic: Solaris dtsession Heap Buffer Overflow Vulnerability
Release Date: 2003-03-31
CVE CAN ID: CAN-2003-0092
Sun Solaris 2.5.1 (SPARC/x86)
Sun Solaris 2.6 (SPARC/x86)
Sun Solaris 7 (SPARC/x86)
Sun Solaris 8 (SPARC/x86)
Sun Solaris 9 (SPARC/x86)
NSFOCUS Security Team has found a buffer overflow vulnerability in dtsession
which is an application in Sun Solaris system. Exploiting the vulnerability
local attackers could gain root privilege.
dtsession is a CDE session manager. It provides session management functionality
that is compatible to ICCCM 1.1 during the users' session (from login
logout). It launches a window manager and allows to save/restore/lock
to launch screen saver, and to allocate colors for desktop compatible
By default setuid root bit is set to CDE dtsession which is shipped
with Solaris. Because valid length check has not been implemented when
handling HOME variable, attackers could cause a heap buffer overflow.
carefully crafting data attackers could run arbitrary code with root privilege.
NSFOCUS suggests to disable suid root bit of dtsession temporarily:
# chmod a-s /usr/dt/bin/dtsession
Note: This might prevent a user from being to unlock the screen
by the list of keyholders (including root).
2002-12-11 Informed the vendor.
2002-12-13 The vendor confirmed the vulnerability.
2003-03-31 The vendor released a Sun Alert and patches for this issue.
The Sun Alert is available at:
The patches are:
Solaris 2.6 106027-12
Solaris 2.6_x86 106028-12
Solaris 7 107702-12
Solaris 7_x86 107703-12
Solaris 8 109354-19
Solaris 8_x86 109355-18
Solaris 9 114497-01
Solaris 9_x86 114498-01
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2003-0092 to this issue. This is a candidate for inclusion in
CVE list (http://cve.mitre.org), which standardizes names for security
problems. Candidates may change significantly before they become official
THE INFORMATION PROVIDED IS RELEASED BY NSFOCUS "AS IS" WITHOUT
OF ANY KIND. NSFOCUS DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED,
EXCEPT FOR THE WARRANTIES OF MERCHANTABILITY. IN NO EVENTSHALL NSFOCUS
BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT,
INCIDENTAL,CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,
EVEN IF NSFOCUS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
DISTRIBUTION OR REPRODUCTION OF THE INFORMATION IS PROVIDED THAT THE
ADVISORY IS NOT MODIFIED IN ANY WAY.
NSFOCUS Security Team <email@example.com>
NSFOCUS INFORMATION TECHNOLOGY CO.,LTD
PGP Key: http://www.nsfocus.com/homepage/research/pgpkey.asc
Key fingerprint = F8F2 F5D1 EF74 E08C 02FE 1B90 D7BF 7877 C6A6 F6DA