RedHat 5.2's XWindows vulnerable to Cookie Hijacking.
5 Nov. 1998
Summary
RedHat 5.2's `/tmp/.X11-unix` permissions are set to `drwxrwxrwx`, meaning world read/write/execute settings, this could lead to a verity of possible exploits, from deleting a socket session (causing Denial of Service), a simple posting of a message on the XWindow's session window, to a hijacking of an entire session.
RedHat 5.2 sets the permissions of the temp directory used by XWindows sessions to world read/write/execute. Making it possible for any malicious user to cause havoc on the system by infiltrating the system via a XWindows session.
Running the source code which is attached below, enables administrators to test their system for the mentioned vulnerability:
---- snip ----
#!/usr/bin/perl
# Copyright (c) 1997 Pavel Kankovsky
# Permission to use, modify, and redistribute this program under the
# terms of GNU General Public License version 2, as published by the
# Free Software Foundation, is hereby granted. There is ABSOLUTELY
# NO WARRANTY. You use it at your own risk.
# WARNING! This program is provided for educational purposes only.
# Inappropriate use or abuse may result in malfunction or inaccessibility
# of computing systems, disclosure, loss or corruption of data, and other
# damages.