J-Security Center

Title: Window Maker Window Title Buffer Overflow Vulnerability

Severity: HIGH

Description:

WindowMaker is a window manager for X11 systems. It is often run on desktop systems.

WindowMaker contains a buffer overflow that may be exploitable by remote attackers. The overflow conditions are present when X11 applications are setting the title of their windows.

The buffer overflows are due to the use of 'sprintf'. The 'sprintf' libc function allows for the construction of a string based on format specifiers. Unfortunately there is no bounds checking done by 'sprintf'. If the length of the created string exceeds the length of the buffer allocated for it, 'sprintf' will write the excessive data to neighboring memory. There are numerous instances of 'sprintf' usage that may each be exploitable involving setting the window title. Because the application is responsible for setting the window title, this vulnerability can be exploited by malicious X11 programs.

This vulnerability can be exploited by remote hosts that are allowed to connect to the Xserver. On some systems, default configurations permitting any hosts to connect to the XServer may open up the host on which Window Maker is running to remote compromise.

This vulnerability can be exploited by X11 applications which can connect to the Xserver. Any arbitrary code that is executed will run with the privileges of the window manager. It will also execute on the system where it is running.

Affected Products:

  • Conectiva Linux 4.0.0
  • Conectiva Linux 4.2.0
  • Conectiva Linux 5.0.0
  • Conectiva Linux 5.1.0
  • Conectiva Linux 6.0.0
  • Debian Linux 2.2.0
  • MandrakeSoft Linux Mandrake 7.2.0
  • MandrakeSoft Linux Mandrake 8.0.0
  • MandrakeSoft Linux Mandrake 8.0.0 ppc
  • RedHat Linux 6.2.0
  • RedHat Linux 6.2.0 i386
  • RedHat Linux 7.0.0
  • RedHat Linux 7.0.0 i386
  • RedHat Linux 7.1.0
  • RedHat Linux 7.1.0 i386
  • Sun Linux 5.0.6
  • Windowmaker Windowmaker 0.60.0
  • Windowmaker Windowmaker 0.61.0
  • Windowmaker Windowmaker 0.61.1
  • Windowmaker Windowmaker 0.62.0
  • Windowmaker Windowmaker 0.62.1
  • Windowmaker Windowmaker 0.63.0
  • Windowmaker Windowmaker 0.63.1
  • Windowmaker Windowmaker 0.64.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.