XDM in XFree86 contains a flaw that may allow a malicious user to perform a brute force attack. The issue is triggered when X server is complied without HasXdmXauth, which will cause the cookies to be generated by the "gettimeofday" function. A remote attacker can potentially guess the cookie values and gain unauthorized access to the system, resulting in a loss of integrity.
Classification
Location:
Remote/Network Access Required
Attack Type:
Misconfiguration
Impact:
Loss of Integrity
Exploit:
Exploit Unknown
Disclosure:
OSVDB Verified
Solution
Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround(s):
1. use good compilation options ;
2. limit access to X11 sockets (start X server with "-nolisten tcp"...)