ID CVE-2008-0006
Summary Buffer overflow in (1) X.Org Xserver before 1.4.1, and (2) the libfont and libXfont libraries on some platforms including Sun Solaris, allows context-dependent attackers to execute arbitrary code via a PCF font with a large difference between the last col and first col values in the PCF_BDF_ENCODINGS table.
References
Vulnerable Configurations
  • cpe:2.3:a:sun:solaris_libfont:*:*:*:*:*:*:*:*
    cpe:2.3:a:sun:solaris_libfont:*:*:*:*:*:*:*:*
  • cpe:2.3:a:sun:solaris_libxfont:*:*:*:*:*:*:*:*
    cpe:2.3:a:sun:solaris_libxfont:*:*:*:*:*:*:*:*
  • cpe:2.3:a:x.org:xserver:*:*:*:*:*:*:*:*
    cpe:2.3:a:x.org:xserver:*:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 15-10-2018 - 21:56)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Buffer Manipulation
    An adversary manipulates an application's interaction with a buffer in an attempt to read or modify data they shouldn't have access to. Buffer attacks are distinguished in that it is the buffer space itself that is the target of the attack rather than any code responsible for interpreting the content of the buffer. In virtually all buffer attacks the content that is placed in the buffer is immaterial. Instead, most buffer attacks involve retrieving or providing more input than can be stored in the allocated buffer, resulting in the reading or overwriting of other unintended program memory.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an adversary. As a consequence, an adversary is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the adversaries' choice.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:00:27.589-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description Buffer overflow in (1) X.Org Xserver before 1.4.1, and (2) the libfont and libXfont libraries on some platforms including Sun Solaris, allows context-dependent attackers to execute arbitrary code via a PCF font with a large difference between the last col and first col values in the PCF_BDF_ENCODINGS table.
family unix
id oval:org.mitre.oval:def:10021
status accepted
submitted 2010-07-09T03:56:16-04:00
title Buffer overflow in (1) X.Org Xserver before 1.4.1, and (2) the libfont and libXfont libraries on some platforms including Sun Solaris, allows context-dependent attackers to execute arbitrary code via a PCF font with a large difference between the last col and first col values in the PCF_BDF_ENCODINGS table.
version 31
redhat via4
advisories
  • bugzilla
    id 428044
    title CVE-2008-0006 Xorg / XFree86 PCF font parser buffer overflow
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 4 is installed
        oval oval:com.redhat.rhba:tst:20070304025
      • OR
        • AND
          • comment xorg-x11 is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030001
          • comment xorg-x11 is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451002
        • AND
          • comment xorg-x11-Mesa-libGL is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030003
          • comment xorg-x11-Mesa-libGL is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451004
        • AND
          • comment xorg-x11-Mesa-libGLU is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030005
          • comment xorg-x11-Mesa-libGLU is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451006
        • AND
          • comment xorg-x11-Xdmx is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030007
          • comment xorg-x11-Xdmx is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451008
        • AND
          • comment xorg-x11-Xnest is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030009
          • comment xorg-x11-Xnest is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451010
        • AND
          • comment xorg-x11-Xvfb is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030011
          • comment xorg-x11-Xvfb is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451012
        • AND
          • comment xorg-x11-deprecated-libs is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030013
          • comment xorg-x11-deprecated-libs is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451014
        • AND
          • comment xorg-x11-deprecated-libs-devel is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030015
          • comment xorg-x11-deprecated-libs-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451016
        • AND
          • comment xorg-x11-devel is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030017
          • comment xorg-x11-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451018
        • AND
          • comment xorg-x11-doc is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030019
          • comment xorg-x11-doc is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451020
        • AND
          • comment xorg-x11-font-utils is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030021
          • comment xorg-x11-font-utils is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451022
        • AND
          • comment xorg-x11-libs is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030023
          • comment xorg-x11-libs is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451024
        • AND
          • comment xorg-x11-sdk is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030025
          • comment xorg-x11-sdk is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451026
        • AND
          • comment xorg-x11-tools is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030027
          • comment xorg-x11-tools is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451028
        • AND
          • comment xorg-x11-twm is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030029
          • comment xorg-x11-twm is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451030
        • AND
          • comment xorg-x11-xauth is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030031
          • comment xorg-x11-xauth is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451032
        • AND
          • comment xorg-x11-xdm is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030033
          • comment xorg-x11-xdm is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451034
        • AND
          • comment xorg-x11-xfs is earlier than 0:6.8.2-1.EL.33.0.2
            oval oval:com.redhat.rhsa:tst:20080030035
          • comment xorg-x11-xfs is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060451036
    rhsa
    id RHSA-2008:0030
    released 2008-01-17
    severity Important
    title RHSA-2008:0030: xorg-x11 security update (Important)
  • bugzilla
    id 428044
    title CVE-2008-0006 Xorg / XFree86 PCF font parser buffer overflow
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 5 is installed
        oval oval:com.redhat.rhba:tst:20070331005
      • OR
        • AND
          • comment libXfont is earlier than 0:1.2.2-1.0.3.el5_1
            oval oval:com.redhat.rhsa:tst:20080064001
          • comment libXfont is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070132002
        • AND
          • comment libXfont-devel is earlier than 0:1.2.2-1.0.3.el5_1
            oval oval:com.redhat.rhsa:tst:20080064003
          • comment libXfont-devel is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070132004
    rhsa
    id RHSA-2008:0064
    released 2008-01-17
    severity Important
    title RHSA-2008:0064: libXfont security update (Important)
  • rhsa
    id RHSA-2008:0029
rpms
  • XFree86-0:4.1.0-86.EL
  • XFree86-0:4.3.0-126.EL
  • XFree86-100dpi-fonts-0:4.1.0-86.EL
  • XFree86-100dpi-fonts-0:4.3.0-126.EL
  • XFree86-75dpi-fonts-0:4.1.0-86.EL
  • XFree86-75dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-14-100dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-14-75dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-15-100dpi-fonts-0:4.1.0-86.EL
  • XFree86-ISO8859-15-100dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-15-75dpi-fonts-0:4.1.0-86.EL
  • XFree86-ISO8859-15-75dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-2-100dpi-fonts-0:4.1.0-86.EL
  • XFree86-ISO8859-2-100dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-2-75dpi-fonts-0:4.1.0-86.EL
  • XFree86-ISO8859-2-75dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-9-100dpi-fonts-0:4.1.0-86.EL
  • XFree86-ISO8859-9-100dpi-fonts-0:4.3.0-126.EL
  • XFree86-ISO8859-9-75dpi-fonts-0:4.1.0-86.EL
  • XFree86-ISO8859-9-75dpi-fonts-0:4.3.0-126.EL
  • XFree86-Mesa-libGL-0:4.3.0-126.EL
  • XFree86-Mesa-libGLU-0:4.3.0-126.EL
  • XFree86-Xnest-0:4.1.0-86.EL
  • XFree86-Xnest-0:4.3.0-126.EL
  • XFree86-Xvfb-0:4.1.0-86.EL
  • XFree86-Xvfb-0:4.3.0-126.EL
  • XFree86-base-fonts-0:4.3.0-126.EL
  • XFree86-cyrillic-fonts-0:4.1.0-86.EL
  • XFree86-cyrillic-fonts-0:4.3.0-126.EL
  • XFree86-devel-0:4.1.0-86.EL
  • XFree86-devel-0:4.3.0-126.EL
  • XFree86-doc-0:4.1.0-86.EL
  • XFree86-doc-0:4.3.0-126.EL
  • XFree86-font-utils-0:4.3.0-126.EL
  • XFree86-libs-0:4.1.0-86.EL
  • XFree86-libs-0:4.3.0-126.EL
  • XFree86-libs-data-0:4.3.0-126.EL
  • XFree86-sdk-0:4.3.0-126.EL
  • XFree86-syriac-fonts-0:4.3.0-126.EL
  • XFree86-tools-0:4.1.0-86.EL
  • XFree86-tools-0:4.3.0-126.EL
  • XFree86-truetype-fonts-0:4.3.0-126.EL
  • XFree86-twm-0:4.1.0-86.EL
  • XFree86-twm-0:4.3.0-126.EL
  • XFree86-xauth-0:4.3.0-126.EL
  • XFree86-xdm-0:4.1.0-86.EL
  • XFree86-xdm-0:4.3.0-126.EL
  • XFree86-xf86cfg-0:4.1.0-86.EL
  • XFree86-xfs-0:4.1.0-86.EL
  • XFree86-xfs-0:4.3.0-126.EL
  • xorg-x11-0:6.8.2-1.EL.33.0.2
  • xorg-x11-Mesa-libGL-0:6.8.2-1.EL.33.0.2
  • xorg-x11-Mesa-libGLU-0:6.8.2-1.EL.33.0.2
  • xorg-x11-Xdmx-0:6.8.2-1.EL.33.0.2
  • xorg-x11-Xnest-0:6.8.2-1.EL.33.0.2
  • xorg-x11-Xvfb-0:6.8.2-1.EL.33.0.2
  • xorg-x11-deprecated-libs-0:6.8.2-1.EL.33.0.2
  • xorg-x11-deprecated-libs-devel-0:6.8.2-1.EL.33.0.2
  • xorg-x11-devel-0:6.8.2-1.EL.33.0.2
  • xorg-x11-doc-0:6.8.2-1.EL.33.0.2
  • xorg-x11-font-utils-0:6.8.2-1.EL.33.0.2
  • xorg-x11-libs-0:6.8.2-1.EL.33.0.2
  • xorg-x11-sdk-0:6.8.2-1.EL.33.0.2
  • xorg-x11-tools-0:6.8.2-1.EL.33.0.2
  • xorg-x11-twm-0:6.8.2-1.EL.33.0.2
  • xorg-x11-xauth-0:6.8.2-1.EL.33.0.2
  • xorg-x11-xdm-0:6.8.2-1.EL.33.0.2
  • xorg-x11-xfs-0:6.8.2-1.EL.33.0.2
  • libXfont-0:1.2.2-1.0.3.el5_1
  • libXfont-debuginfo-0:1.2.2-1.0.3.el5_1
  • libXfont-devel-0:1.2.2-1.0.3.el5_1
refmap via4
apple APPLE-SA-2008-03-18
bid
  • 27336
  • 27352
bugtraq 20080130 rPSA-2008-0032-1 xorg-x11 xorg-x11-fonts xorg-x11-tools xorg-x11-xfs
cert-vn VU#203220
confirm
fedora
  • FEDORA-2008-0760
  • FEDORA-2008-0794
  • FEDORA-2008-0831
  • FEDORA-2008-0891
gentoo
  • GLSA-200801-09
  • GLSA-200804-05
  • GLSA-200805-07
hp
  • HPSBUX02381
  • SSRT080083
jvn JVN#88935101
jvndb JVNDB-2008-001043
mandriva
  • MDVSA-2008:021
  • MDVSA-2008:022
  • MDVSA-2008:024
mlist [xorg] 20080117 X.Org security advisory: multiple vulnerabilities in the X server
openbsd
  • [4.1] 20080208 012: SECURITY FIX: February 8, 2008
  • [4.2] 20080208 006: SECURITY FIX: February 8, 2008
sectrack 1019232
secunia
  • 28273
  • 28500
  • 28532
  • 28535
  • 28536
  • 28540
  • 28542
  • 28544
  • 28550
  • 28571
  • 28592
  • 28621
  • 28718
  • 28843
  • 28885
  • 28941
  • 29139
  • 29420
  • 29622
  • 29707
  • 30161
  • 32545
sunalert
  • 103192
  • 201230
suse
  • SUSE-SA:2008:003
  • SUSE-SR:2008:008
ubuntu USN-571-1
vupen
  • ADV-2008-0179
  • ADV-2008-0184
  • ADV-2008-0497
  • ADV-2008-0703
  • ADV-2008-0924
  • ADV-2008-3000
xf xorg-pcffont-bo(39767)
Last major update 15-10-2018 - 21:56
Published 18-01-2008 - 23:00
Last modified 15-10-2018 - 21:56
Back to Top