Note: This is an archival copy of Security Sun Alert 200592 as previously published on http://sunsolve.sun.com. Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1000454.1. |
Category Security Release Phase Resolved Solaris 9 Operating System Solaris 10 Operating System Solaris 8 Operating System Bug Id 6526191, 6538280, 6538290, 6539893, 6526192, 6538282, 6538286 Date of Workaround Release 25-APR-2007 Date of Resolved Release 26-JUL-2007 Impact Multiple security vulnerabilities exist in the X11 FreeType library and X11 display servers Xsun(1) and Xorg(1). The XC-MISC extension is used by the X11 display servers to manage resource IDs. A local or remote unprivileged user who is able to display data on a running X11 server instance may be able to elevate their privileges to root and execute arbitrary code or cause a Denial of Service (DOS) to that X11 server instance resulting from memory corruption in ProxXCMiscGetXIDList. This issue is described in the following documents: http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=503 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1003 http://lists.freedesktop.org/archives/xorg-announce/2007-April/000286.html The X11 display servers contain a flaw that may allow a local or remote unprivileged user who is able to display data on a running X11 server instance to elevate their privileges to root and execute arbitrary code or cause a Denial of Service (DOS) to that X11 server instance when a BDF font file specifies that there are more then 2^30 characters defined in the font file. This issue is described in the following documents: http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=501 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1351 http://lists.freedesktop.org/archives/xorg-announce/2007-April/000286.html The X11 Free Type library and X11 display servers contain a flaw that may allow a local or remote unprivileged user who is able to display data on a running X11 server instance to elevate their privileges to root and execute arbitrary code or cause a Denial of Service (DOS) to that X11 server instance by causing the server to load a long path name in the fonts.dir file for a font. This issue is described in the following documents: http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=502 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1352 http://lists.freedesktop.org/archives/xorg-announce/2007-April/000286.html Contributing Factors These issues can occur in the following releases: SPARC Platform
x86 Platform
Note: The Xorg(1) X server only ships on the x86 platform for Solaris 9 with the Sun Java Desktop System (JDS) release 2 installed, and on Solaris 10. To determine if JDS release 2 is installed on a Solaris 9 x86 system, the following command can be run: % grep distributor-version /usr/share/gnome-about/gnome-version.xml <distributor-version>Sun Java Desktop System, Release 2</distributor-version>
Symptoms There are no predictable symptoms that would indicate the described issues have been exploited. Workaround To prevent this issue from being exploited to execute arbitrary commands with elevated privileges, the setuid(2) bit can be removed from the Xorg server and the Xsun server on the x86 platform and the setgid(2) bit can be removed from the Xsun server on the SPARC platform. For example: # chmod 0755 /usr/openwin/bin/Xsun # chmod 0755 /usr/X11/bin/Xorg Similar chmod commands will need to be used on a setuid(2) or setgid(2) application that links to the Free Type library (libfreetype). To determine if a setuid(2) or setgid(2) application links to the Free Type library do the following: # ldd /usr/bin/fc-cache | grep freetype libfreetype.so.6 => /usr/sfw/lib/libfreetype.so.6 If the fc-cache application had been setuid(2) or setgid(2) then performing the chmod commands would be appropriate. Note 1: Performing the above procedure will disable the following:
These features will still be available to Xsun and Xorg when started via a display manager such as dtlogin(1), gdm(1), or xdm(1). Note 2: There is no workaround to prevent this issue from being exploited to cause a Denial Of Service to the X Servers. Note 3: The "chmod" command for Xorg(1) is applicable only to Solaris 9 and 10. Note 4: Local users on the console of a system using an X display manager and Sun Ray users may still be able to exploit this vulnerability to execute arbitrary commands with elevated privileges even if the setuid and setgid permissions have been removed from the Xsun and Xorg binaries. Resolution This issue is addressed in the following releases: SPARC Platform
x86 Platform
Modification History Date: 18-MAY-2007
Date: 25-MAY-2007
Date: 26-JUL-2007
References119067-07119068-07 112785-61 112786-50 124833-02 119059-25 119060-24 125720-03 119813-04 119812-03 124420-02 124421-02 116105-07 116106-06 Attachments This solution has no attachment |
|