SCO OpenServer 5.0.6 (and possibly earlier versions) ships with several suid bin executables used in printer administration and related tasks.
This includes lpusers, a component used to set the queue priority of jobs submitted to the LP print service by users.
'lpusers' contains a locally exploitable buffer overflow vulnerability that occurs when commandline arguments are of excessive length.
If properly exploited, this can yield root privilege to the attacker.
/opt/K/SCO/Unix/5.0.6Ga/usr/lib/lpusers -u `perl -e 'print "A" x 700'`
Memory fault - core dumped
SCO OpenServer lpusers -u Parameter Local Overflow
Local Access Required
Loss of Integrity
A local overflow exists in OpenServer. The lpusers command fails to validate user-supplied arguments to the '-u' command-line parameter resulting in a buffer overflow. With a specially crafted request consisting of more than 670 characters, an attacker can cause arbitrary code execution resulting in a loss of integrity.
Currently, there are no known workarounds or upgrades to correct this issue. However, SCO has released a patch to address this vulnerability.