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 Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.