J-Security Center

Title: XDMCP Infinite Loop Denial of Service Vulnerability

Severity: MODERATE

Description:

A programming flaw exists in OpenDis.c file of libX11 that could result in a denial of service against things listening to XDMCP, including xdm. By altering the contents of the server reply packet to a connection establishment request, it is possible to cause an infinite loop in the affected function. Doing this multiple times can cause a denial of service attack.

The flaw stems from the use of the dpy->resource_mask value, received from the network, to control a loop. By passing a mask value of 0, the loop will never end.

lib/X11/OpenDis.c, ~line 373

mask = dpy->resource_mask;
dpy->resource_shift = 0;
while (!(mask & 1)) {
dpy->resource_shift++;
mask = mask >> 1;
}

Affected Products:

  • Debian Linux 2.2.0
  • Open Group X 11.0.0R6
  • Open Group X 11.0.0R6.1
  • Open Group X 11.0.0R6.2
  • Open Group X 11.0.0R6.3
  • Open Group X 11.0.0R6.4
  • RedHat Linux 6.2.0
  • XFree86 X11R6 3.3.3
  • XFree86 X11R6 3.3.4
  • XFree86 X11R6 3.3.5
  • XFree86 X11R6 3.3.6
  • XFree86 X11R6 4.0.0

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.