Race condition in xterm allows local users to modify arbitrary files via the logging option.
x.org xterm