Multiple integer overflows in XFree86 (local/remote)

blexim_at_hush.com
Date: 08/30/03

  • Next message: Martin Eiszner: "SAP Internet Transaction Server"
    Date: Sat, 30 Aug 2003 02:25:55 -0700
    To: bugtraq@securityfocus.com
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Remote and local vulnerabilities in XFree86 font libraries

    Product: XFree86 (4.3.0)
    Impact: Potential privilege escalation / remote code execution
    Bug class: Integer overflow
    Vendor notified: Yes
    Fix available: Yes (see end of advisory)

    Details:
    I have identified several bugs in the font libraries of the current version
    (4.3.0) of the XFree86 font libraries. These bugs could potentially
    lead to the execution of arbitrary code by a remote user in any process
    which calls the functions in question. The functions are related to
    the transfer and enumeration of fonts from font servers to clients, limiting
    the range of the exposure caused by these bugs.

    Specifically, several variables passed from a font server to a
    client are not adequately checked, allowing integer overflows to cause
    erroneous
    sizes of buffers to be calculated. These erroneous calculations can
    lead to
    buffers on the heap and stack overflowing, potentially leading to arbitrary
    code
    execution. As stated before, the risk is limited by the fact that only
    clients can be affected remotely by these bugs, but in some (non default)
    configurations, both xfs and XServer can act as clients to remote font
    servers.
    In these configurations, both xfs and XServer could be potentially compromised
    remotely. Also, it is possible for a local unprivileged user to alter

    the configuration of Xserver in such a manner as to force it to load
    a font from an arbitrary font server. Since Xserver is setuid root by
    default, a local user may potentially gain root privileges.

    Workaround:
    To prevent the local privilege escalation, remove the suid bit from the
    Xserver binary:
            chmod u-s XFree86

    Ensure xfs and Xserver do not include untrusted font servers in their
    font
    search paths.

    Fix:
    The current CVS version of XFree86 has been updated to correct these
    issues.

    Discovered by:
    blexim@hush.com of isen
    -----BEGIN PGP SIGNATURE-----
    Note: This signature can be verified at https://www.hushtools.com/verify
    Version: Hush 2.3

    wkYEARECAAYFAj9IinUACgkQsE7ilXLZoGZziQCgv3YM2FxUt9zVUFPKqpvdoPWON2kA
    oLC5uhB0+QXxnjikMqt/3P0S462G
    =MlA3
    -----END PGP SIGNATURE-----

    Concerned about your privacy? Follow this link to get
    FREE encrypted email: https://www.hushmail.com/?l=2

    Free, ultra-private instant messaging with Hush Messenger
    https://www.hushmail.com/services.php?subloc=messenger&l=434

    Promote security and make money with the Hushmail Affiliate Program:
    https://www.hushmail.com/about.php?subloc=affiliate&l=427


  • Next message: Martin Eiszner: "SAP Internet Transaction Server"

    Relevant Pages

    • Re: Paragraph. Em and Px
      ... At "normal" font sizes (the defaults on Windows systems, ... cursor down to the associated dropdown menu, ... vertical gap between the menu item and its associated dropdown menu. ... Internet Explorer 8 bugs: 57 bugs so far ...
      (comp.infosystems.www.authoring.stylesheets)
    • Re: Why has the Metrowerks sign been taken down?
      ... Because none of the bugs are such that you ... any justification setting and reverts to Default. ... If the font is anything other than the ... Is *that* a show stopper? ...
      (comp.sys.mac.programmer.codewarrior)
    • Re: Wholesome choice?
      ... Bad font choices make things hard to read. ... to the reader -- the reader, ... bugs that were fixed in the '70s, bugs that were fixed in the '60s, ... on another computer, another word processor, or another network." ...
      (rec.arts.sf.fandom)
    • Bug submission
      ... Is it still possible to submit bugs in Word 2003 and will does ... has full embedding rights (i.e. installable embedding), ... document is opened a substituted font appears in place of the embedded ...
      (microsoft.public.word.printingfonts)
    • Word 2003 bug submission - how to?
      ... Is it still possible to submit bugs in Word 2003 and will does ... has full embedding rights (i.e. installable embedding), ... document is opened a substituted font appears in place of the embedded ...
      (microsoft.public.word.general)