dtsession(1X) Contains a Buffer Overflow Vulnerability



Category :Security
Release Phase :Resolved
Product :Solaris 9 Operating System
Solaris 10 Operating System
Solaris 8 Operating System  
Bug Id :6547678  
Date of Resolved Release :27-JUN-2007 


Impact

An unprivileged local user may be able to execute arbitrary code or commands with the privileges of the dtsession(1X) Common Desktop Environment (CDE) Session Manager. The dtsession(1X) CDE Session Manager runs with root privileges.


Contributing Factors

This issue can occur in the following releases:

SPARC Platform

x86 Platform


Symptoms

There are no predictable symptoms that would indicate this issue has been exploited.


Workaround

To work around the described issue, turn off the set-user-ID ("setuid") bit for dtsession(1X) as root:

    #chmod 0555 /usr/dt/bin/dtsession

Note 1: For CDE users this will cause dtsession(1X) to be unable to unlock the screen by the list of keyholders (including root) as well as prevent users with accounts defined in /etc/passwd to be unable to unlock the screen. CDE users with accounts defined in NIS, NIS+, or LDAP will still be able to unlock the screen.

Note 2: CDE users with accounts defined in /etc/passwd should use xlock(1) to lock their X display and turn off automatic session locking by dtsession(1X). Automatic session locking by dtsession(1X) can be turned off using the CDE Style Manager's (dtstyle(1X)) screen option. From the dtstyle(1X) screen option window, automatic session locking can be turned off by selecting "off" for the Screen Saver and Screen Lock options. To lock the X display using xlock(1) the xlock(1) command can be executed from the command line of a terminal window.


Resolution

This issue is addressed in the following releases:

SPARC Platform

x86 Platform






Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 201544
Article Type : Sun Alert
Last reviewed : 2007-06-27
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article
 
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc. | SunSolve Version 7.4.0 #1