Juniper Networks
Solutions
Products & Services
Company
Partners
Support
Education

Signature Detail

Security Intelligence Center
Signatures
Print

Short Name

X11:X11-XC-QUERY-SECURITY

Severity

High

Recommended

No

Recommended Action

Drop

Category

X11

Keywords

DoS using XC-QUERY-SECURITY

Release Date

2003/04/22

Update Number

1213

Supported Platforms

idp-4.0+, isg-3.0+, j-series-9.5+, mx-9.4+, srx-9.2+, srx-branch-9.4+, vsrx-12.1+

X11: DoS using XC-QUERY-SECURITY


This signature detects attempts to exploit a known vulnerability against XFree86, an open-source implementation of the X Windows System. Attackers can send the command string "XC-QUERY_SECURITY" to TCP/6000 on an X11 server. A successful attack can cause a denial-of-service (DoS) condition on the affected system.

Extended Description

A denial of service exists in XFree86 3.3.5, 3.3.6 and 4.0. A remote user can send a malformed packet to the TCP listening port, 6000, which will cause the X server to be unresponsive for some period of time. During this time, the keyboard will not respond to user input, and in some cases, the mouse will also not respond. During this time period, the X server will utilize 100% of the CPU, and can only be repaired by being signaled. This vulnerability exists only in servers compiled with the XCSECURITY #define set. This can be verified by running the following: strings /path/to/XF86_SVGA | grep "XC-QUERY-SECURITY-1" To quote the Bugtraq post, by Chris Evans <chris@ferret.lmh.ox.ac.uk>: "Observe xc/programs/Xserver/os/secauth.c, AuthCheckSitePolicy(): // dataP is user supplied data from the network char *policy = *dataP; int nPolicies; ... // Oh dear, we can set nPolicies to -1 nPolicies = *policy++; while (nPolicies) { // Do some stuff in a loop ... nPolicies--; } So, the counter "nPolicies", if seeded with -1, will decrement towards about minus 2 billion, then wrap to become positive 2 billion, and head towards its final destination of 0."

Affected Products

  • XFree86 X11R6 3.3.5
  • XFree86 X11R6 3.3.6
  • XFree86 X11R6 4.0.0

References

  • BugTraq: 1235
  • CVE: CVE-2000-0453

Site Map
RSS Feeds
Careers
Accessibility
Feedback
Privacy Policy
Legal Notices
Copyright © 1999-2010 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out