OK, I lied about being done with my OpenServer audit. I have a couple of
these left over, mostly because they weren't root-compromises.
There is an overflow in /opt/K/SCO/Unix/5.0.5Eb/.softmgmt/var/usr/bin/cancel
which will allow any user to gain lp privs. Note that this is NOT an overflow
in /usr/bin/cancel or /usr/lpd/remote/cancel.
scohack:/home/btellier$ l
/opt/K/SCO/Unix/5.0.5Eb/.softmgmt/var/usr/bin/cancel; l /usr/bin/cancel; l
/usr/lpd/remote/cancel;
---x--s--x 1 bin lp 57472 Jan 28 1999
/opt/K/SCO/Unix/5.0.5Eb/.softmgmt/var/usr/bin/cancel
---x--s--x 1 bin lp 2604 Feb 15 1999 /usr/bin/cancel@
-rws--s--x 1 root daemon 27504 Jan 28 1999 /usr/lpd/remote/cancel@
It is equivalent to /usr/lpd/local/cancel, but both are only sgid lp.