Problem
Multiple X Window System server applications share code that may contain a flaw in the memory allocation for large pixmaps. The affected products include the X.Org X server applications.
An integer overflow condition may result in a memory allocation request returning an allocated region that is incorrectly sized. The client may then be able to use the XDrawPoint() and XGetImage() functions to read and write to arbitrary locations in the X server's address space.
A malicious local authenticated attacker may be able to execute arbitrary code with the privileges of the X server.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-2495 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 6.0.0 : X.Org X Server Arbitrary Code
Execution Vulnerability
Advisory number: SCOSA-2006.14
Issue date: 2006 March 16
Cross reference: fz532984
CVE-2005-2495
VU#102441
______________________________________________________________________________1. Problem DescriptionMultiple X Window System server applications share code that may contain a flaw in the memory allocation for large pixmaps. The affected products include the X.Org X server applications.
An integer overflow condition may result in a memory allocation request returning an allocated region that is incorrectly sized. The client may then be able to use the XDrawPoint() and XGetImage() functions to read and write to arbitrary locations in the X server's address space.
A malicious local authenticated attacker may be able to execute arbitrary code with the privileges of the X server.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-2495 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 6.0.0 XORGServer package3. SolutionThe proper solution is to install the latest packages.
4. OpenServer 6.0.04.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/openserver6/600/mp/osr600mp2/osr600mp2.iso4.2 VerificationMD5 (osr600mp2.iso) = 7e560dcde374eb60df2b4a599ac20d8amd5 is available for download from
https://ftp.scoexpert.com/security/tools4.3 Installing Fixed BinariesSee the SCO OpenServer Release 6.0.0 Maintenance Pack 2 Release and Installation Notes:
https://ftp.scoexpert.com/openserver6/600/mp/osr600mp2/osr600mp2.html5. ReferencesSpecific references for this advisory:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2495
http://www.kb.cert.org/vuls/id/102441
https://bugs.freedesktop.org/show_bug.cgi?id=594
http://secunia.com/advisories/16790/
http://secunia.com/advisories/16777/SCO security resources:
http://www.sco.com/support/security/index.htmlSCO security advisories via email
http://www.sco.com/support/forums/security.htmlThis security fix closes SCO incidents fz532984.
6. DisclaimerSCO is not responsible for the misuse of any of the information we provide on this website and/or through our security advisories. Our advisories are a service to our customers intended to promote secure installation and use of SCO products.
7. AcknowledgmentsThanks to Luke Hutchison and S¿ren Sandmann Pedersen for reporting this vulnerability.
______________________________________________________________________________