OpenSolaris

Printable Version Enter a New Search
Bug ID 6660113
Synopsis *Xsun* MIT-SHM security fix broke pixmaps of less than 8-bit depth
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:xsun-server
Keywords
Responsible Engineer Alan Coopersmith
Reported Against snv_01 , s10u5_06
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_84
Fixed In snv_84
Release Fixed solaris_nevada(snv_84) , solaris_10u5(s10u5_09) (Bug ID:2158949) solaris_9(s9patch) (Bug ID:2158950,) solaris_8(s8patch) (Bug ID:2158951,)
Related Bugs 6635738 , 6656427 , 6658072 , 6660115 , 6661615
Submit Date 6-February-2008
Last Update Date 29-May-2008
Description
X.Org has issued an updated patch for the recent MIT-SHM security vulnerability:

Matthieu Herrb wrote:
| X.Org security advisory, January 17th, 2008
| Multiple vulnerabilities in the X server
| CVE IDs: CVE-2007-5760, CVE-2007-5958, CVE-2007-6427, CVE-2007-6428,
|          CVE-2007-6429, CVE-2008-0006
|
| Overview
|
| Several vulnerabilities have been identified in server code of the X
| window system caused by lack of proper input validation on user
| controlled data in various parts of the software, causing various
| kinds of overflows.
|

Update: The patch for the MIT-SHM vulnerability (CVE-2007-6429)
introduced a regression for applications that allocate pixmaps with a
less than 8 bits depth. New patches are available for xserver 1.2 and
xserver 1.4:

ftp://ftp.freedesktop.org/pub/xorg/X11R7.2/patches/xorg-xserver-1.2-multiple-overflows-v2.diff

ftp://ftp.freedesktop.org/pub/xorg/X11R7.3/patches/xorg-xserver-1.4-multiple-overflows-v2.diff
*** Test Case ***
Compile the mitshm-testcase.c attached to this bug report (or available externally at
https://bugs.freedesktop.org/attachment.cgi?id=13779 ) with the command
   cc -o mitshm-testcase mitshm-testcase.c -lXext -lX11

Login to a session on the server under test and run it, and verify it only reports
"TEST PASSED" messages, no "TEST FAILED" nor X error messages.
Work Around
N/A
Comments
N/A