ADVISORIES | December 9, 2014

X Font Service Protocol Handling Issues in libXfont Library

Ilja van Sprundel, an IOActive security researcher, discovered several issues in the way the libXfont library handles the responses it receives from XFS servers. Mr. van Sprundel has worked with X.Org’s security team to analyze, confirm, and fix these issues. Most of these issues stem from libXfont trusting the font server to send valid protocol data and not verifying that the values will not overflow or cause other damage.

This code is commonly called from the X server when an X Font Server is active in the font path, so it may be running in a setuid-root process, depending on the X server in use. Exploits of this path can be used by a local, authenticated user to attempt to raise privileges, or by a remote attacker who can control the font server to try to execute code with the privileges of the X server.

Launch PDF