1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

X.Org Libraries Hit By Round Of Security Issues

X.Org

Published on 23 May 2013 11:51 AM EDT
Written by Michael Larabel in X.Org
27 Comments

It was just last month that there was an X.Org Server security issue dealing with hot-plugging of input devices. Being announced today is a new round of security problems, this time multiple issues dealing with X.Org client libraries.

Alan Coopersmith of Oracle and X.Org veteran publicly shared the discovered security problems today:
Ilja van Sprundel, a security researcher with IOActive, has discovered a large number of issues in the way various X client libraries handle the responses they receive from servers, and has worked with X.Org's security team to analyze, confirm, and fix these issues.

Most of these issues stem from the client libraries trusting the server to send correct protocol data, and not verifying that the values will not overflow or cause other damage. Most of the time X clients & servers are run by the same user, with the server more privileged from the clients, so this is not a problem, but there are scenarios in which a privileged client can be connected to an unprivileged server, for instance, connecting a setuid X client (such as a screen lock program) to a virtual X server (such as Xvfb or Xephyr) which the user has modified to return invalid data, potentially allowing the user to escalate their privileges.

The X.Org security team would like to take this opportunity to remind X client authors that current best practices suggest separating code that requires privileges from the GUI, to reduce the attack surface of issues like this.
The noted security vulnerabilities come down to integer overflows calculating memory needs for replies, sign extension issues, buffer overflows from not validating length or offset values, integer overflows parsing user-specified files, and memory corruption due to unchecked return values.

There are issues concerning libX11, libXext, libXfices, LibXi, libXinerama, LibXp, libXrandr, libXrender, libXRes, libXtst, libXv, libXvMC, libXxf86dga, libdmx, libxcb, libGLX, libchromeXvMC, libFS, libXcursor, and libXt. Fortunately, X.Org developers are preparing new packages for all of these X.Org libraries to mitigate these security vulnerabilities.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Intel Pentium G3258 On Linux
  2. SilverStone Precision PS10
  3. ASRock Z97 Extreme6
  4. Nouveau Re-Clocking Is Way Faster, Shows Much Progress For Open-Source NVIDIA
Latest Linux Articles
  1. KVM Benchmarks On Ubuntu 14.10
  2. X.Org Server 1.16 Officially Released With Terrific Features
  3. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  4. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
Latest Linux News
  1. Intel Adds BPTC Texture Compression To Their Mesa Driver
  2. The Linux Kernel Bang-Bang Thermal Governor Is Banging
  3. NVIDIA Releases K1-Powered Shield Tablet & Controller
  4. Xen Project Announces Mirage OS 2.0
  5. Canonical Community Team Changes Announced For Ubuntu
  6. Raspberry Pi B+ ARM Debian Benchmarks
  7. Mozilla Unleashes Firefox 31 Web Browser
  8. GCC 5.0 Is Expected Next Year
  9. PHP5's Successor Might Be PHP7
  10. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
Latest Forum Discussions
  1. In Road To Qt, Audacious Switches From GTK3 Back To GTK2
  2. Debian + Steam + r600
  3. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  4. Next-Gen OpenGL To Be Announced Next Month
  5. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. AMD Publishes Open-Source Linux HSA Kernel Driver
  8. KDE Plasma 5 Officially Released