|
|
|
![]() |
Vulnerability Note VU#12212Weaknesses in MIT magic cookie and XDM X Windows authorizationOverviewMIT magic cookie and XDM authorization contain vulnerabilities that could allow remote attackers to connect to X displays.I. DescriptionTwo widely used X Window System authorization schemes have weaknesses in their sample implementations.MIT-MAGIC-COOKIE-1 On some systems built without the HasXdmAuth configuration option, the authorization key used by MIT-MAGIC-COOKIE-1 is guessable. The problem is that the system rand() function, used to generate cookies when DES is not available, is weak on some systems. If you use MIT-MAGIC-COOKIE-1 to authenticate X connections, and your xdm does NOT also support XDM-AUTHORIZATION-1 authentication (that is, xdm was built with HasXdmAuth set to NO), you may be at risk. If your xdm program was built with HasXdmAuth set to YES (-DHASXDMAUTH passed on the compiler command line), your system is not vulnerable; the DES code is used to generate cryptographically secure keys. XDM-AUTHORIZATION-1 The X server does not correctly check the XDM-AUTHORIZATION-1 data and can be fooled into accepting invalid data. A user who can sniff the encrypted authorization data of a valid connection can create fake authorization data that the X server will not reject as a replay and not reject as a fake. If you do not use XDM-AUTHORIZATION-1, you are not vulnerable in this way. A review of the code has also turned up the following minor security weaknesses:
II. ImpactRemote attackers can connect to X displays and read potentially sensitive data such as passwords.III. SolutionPatch or UpgradeContact your vendor to determine if a patch or upgrade is necessary. Due to the relative age of this report, we have not notified individual vendors. See VB-95:08.X_Authentication_Vul for more information.
Referenceshttp://www.cert.org/vendor_bulletins/VB-95:08.X_Authentication_Vul
This document was written by Cory F Cohen.
If you have feedback, comments, or additional information about this vulnerability, please send us
email. |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||