X.Org Server scan_cidfont() integer overflow

xorg-server-scancidfont-overflow (28890) The risk level is classified as HighHigh Risk

Description:

X.Org Server and XFree86 Server are vulnerable to an integer overflow in the scan_cidfont() function, caused by improper handling of CMap and CIDFont font data in libXfont. A local attacker could send specially-crafted commands to an X server to overwrite memory using vm_alloc() and exploit this vulnerability to execute arbitrary code on the system with root privileges or cause the system to crash.

*CVSS:

Base Score: 4.2
  Access Vector: Local
  Access Complexity: Low
  Authentication: Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 3.1
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

For X.Org X Server:
Upgrade to the latest version of X.Org libXfont (1.2.1 or later), or apply the appropriate patch for your system, available from the X.Org Foundation Web site. See References.

For XFree86 X Server:
No remedy available as of September 2006.

For Red Hat Linux:
Refer to RHSA-2006:0666-4 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200609-07 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux (XFree86):
Refer to DSA-1193-1 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux:
Refer to Mandriva Security Advisory MDKSA-2006:164-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • iDEFENSE ADVISORY: 09.12.06: Multiple Vendor X Server CID-keyed Fonts 'scan_cidfont()' Integer Overflow Vulnerability.
  • X.Org Foundation Web site: X.Org Foundation.
  • XFree86 Web site: XFree@ Home to the X Window System.
  • ASA-2006-190: xorg-x11 security update (RHSA-2006-0665)
  • ASA-2006-191: XFree86 security update (RHSA-2006-0666)
  • ASA-2007-043: Two Integer Overflow Vulnerabilities Found in the Xorg(1) X Server (Sun 102780)
  • BID-19974: X.Org LibXfont CID Font File Multiple Integer Overflow Vulnerabilities
  • CVE-2006-3740: Integer overflow in the scan_cidfont function in X.Org 6.8.2 and XFree86 X server allows local users to execute arbitrary code via crafted (1) CMap and (2) CIDFont font data with modified item counts in the (a) begincodespacerange, (b) cidrange, and (c) notdefrange sections.
  • DSA-1193: xfree86 -- several vulnerabilities
  • GLSA-200609-07: LibXfont, monolithic X.org: Multiple integer overflows
  • MDKSA-2006:164: Updated xorg-x11/XFree86 packages fix integer overflow vulnerabilities
  • MDKSA-2006:164-1: Updated xorg-x11/XFree86 packages fix integer overflow vulnerabilities
  • MDKSA-2006:164-2: Updated xorg-x11/XFree86 packages fix integer overflow vulnerabilities
  • RHSA-2006-0665: xorg-x11 security update
  • RHSA-2006-0666: XFree86 security update
  • SA21864: X11 libXfont CID Encoded Fonts Integer Overflows
  • SA21890: XFree86 CID Encoded Fonts Integer Overflows
  • SA22141: Avaya Modular Messaging X11 libXfont Integer Overflows
  • SA22560: Avaya Products XFree86 Integer Overflow Vulnerabilities
  • SA23899: Sun Solaris 10 Xorg X Server Integer Overflows
  • SA23907: Sun Solaris 9 Xorg X Server Integer Overflows
  • SA24636: VMware ESX Server Multiple Security Updates
  • SECTRACK ID: 1016828: X Buffer Overflow in Processing CID-encoded Type1 Fonts Lets Remote Users Execute Arbitrary Code
  • SUSE-SR:2006:023: SUSE Security Summary Report
  • USN-344-1: X.org vulnerabilities

Platforms Affected:

  • Canonical Ubuntu 5.04
  • Canonical Ubuntu 5.10
  • Canonical Ubuntu 6.06 LTS
  • Debian Debian Linux 3.1
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2006
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • X.Org X.Org Server
  • XFree86 XFree86

Reported:

Sep 12, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.