Sun Microsystems SunScreen Firewall Root Exploit
The SunScreen Firewall can be administrated remotely via a java protocol service which is running on port 3858 on a SunOS machine. This Java Service contains numerous buffer overruns (2 of which I am aware of). Furthermore it is possible to execute arbitrary code if an attacker manages to upload a file onto the target system. As you can see in the following java exploit code the environment is not properly sanitized prior to executing shell scripts as root, thus one can use the LD technique to preload binaries or even easier modify the PATH variable to forge the ´cat´ binary (which is executed by lib/screenname) to be executed in a different place. This can be exploited locally - remotely especially if anonymous ftp uploads are possible or any other file transfer protocol is activated. Uploading a file via the line printer daemon might also be possible.