
Bugtraq mailing list archives
Bug Serious problem in NEC SOCKS server
From: tschroed () CHEETAH WSC EDU (Trevor Schroeder)
Date: Fri, 9 May 1997 11:26:19 -0500
The following bug is present at *least* in Socks5 beta-0.17.2 from NEC. Other versions haven't been tested, but they are most likely vulnerable as well
From the manpage:
SOCKS5_PIDFILE Identifies the filename that stores the socks5 process ID when the port is a port other than 1080. When you use port 1080, socks5 stores the PID in /tmp/socks5.pid. When you run socks5 on a port other than 1080, socks5 stores the PID in /tmp/socks5.(port).pid unless you specify an alternate filename with SOCKS5_PIDFILE. If /tmp/socks5.pid doesn't exist, it is simply a matter of linking the password file to /tmp/socks5.pid (or whatever it's called on your system). When socks starts up, it happily overwirtes the file's previous contents with the PID of the new socks server. Workarounds: * Use mktemp to generate a unique temp file name and redirect socks to that * The source is available, recompile *without* PID file support * Create /tmp/socks5.pid (as root) and make sure that ordinary users can't remove it ____________________________________________________________ "One unerring mark of the love of truth is not entertaining any propositions with greater assurance than the proofs it is built upon will warrant" -- John Locke, 1690 Trevor Schroeder tschroed () cheetah wsc edu ------------------------------------------------------------
Current thread:
- Irix: misc Yuri Volobuev (May 07)
- Re: Irix: misc J.A. Gutierrez (May 08)
- Re: Irix: misc Jaechul Choe (May 08)
- SGI Security Advisory 19961203-02-PX - IRIX netprint Program SGI Security Coordinator (May 08)
- Bug Serious problem in NEC SOCKS server Trevor Schroeder (May 09)
- Re: Bug Serious problem in NEC SOCKS server Matt Bush (May 09)
- Windows 95/NT DoS myst (May 09)
- More buffer overrun crap -- Solaris 2.5.1 /usr/bin/ps Joe Zbiciak (May 10)
- Re: More buffer overrun crap -- Solaris 2.5.1 /usr/bin/ps kevin brintnall (May 10)
- Re: Windows 95/NT DoS Albert Siersema (May 10)
- Re: Windows 95/NT DoS DiGennaro (May 10)
- Re: Windows 95/NT DoS Alan Cox (May 11)
- OOB Quick Fix Aleph One (May 10)
- Microsoft PowerPoint Security Fix Aleph One (May 10)
- Re: Windows 95/NT DoS Mikael Brandstrom (May 10)