OVERVIEW
A vulnerability in Netscape FastTrack 2.01a will allow any remote user to
execute commands as the user running the httpd daemon (probably nobody). This
service is running by default on a standard UnixWare 7.1 installation.
BACKGROUND
I've only tested the version of Netscape FastTrack that comes with SCO
UnixWare 7.1, 2.01a. I'm not sure what other platforms, if any, FastTrack
runs on.
DETAILS
By default installation, the FastTrack httpd will listen on tcp port 457 for
incoming HTTP requests. With the particular configuration file that this
httpd instance uses, we can browse the SCO help documents repository as well
as man pages and so on.
A long GET /aaaaa request will cause the httpd daemon to crash. At 367 bytes
after the "/", we have completely overwritten EIP, allowing us to run
arbitrary commands.
EXPLOIT
Execs the command of your choice. This has only been compiled/tested on a
UnixWare box attacking a UnixWare box. but it should be fairly portable. No
rootshell, since httpd runs as nobody (but now you get to try out all those
local exploits!).
---uwhelp.c---
/** uwhelp.c - remote exploit for UnixWare's Netscape FastTrack
** 2.01a scohelp http service
**
** Runs the command of your choice with uid of the http daemon
** (probably nobody). If there are spaces in your command, use
** ${IFS} instead of a space. httpd handles execve's strangely,
** so your best bet is to just exec an xterm as I've done below.
** Obviously, change the command below to suit your needs.
**
** Compile on UW7.1: cc -o uwhelp uwhelp.c -lnsl -lsocket
** run: ./uwhelp hostname <offset> <size>
**
**
** Brock Tellier btellier@usa.net
**
**/