SCO OpenServer 5.0.6 (and possibly earlier versions) ships with several suid 'bin' executables used in printer administration and related tasks.
This includes lpadmin, a component used to manage and configure print destinations, devices and printer interface programs.
'lpadmin' contains a locally exploitable buffer overflow condition present in the handling of command-line parameters.
If properly exploited, this can yield user 'bin' privileges to the attacker.
/opt/K/SCO/Unix/5.0.6Ga/usr/lib/lpadmin `perl -e 'print "A" x 7000'`
Memory fault - core dumped
SCO OpenServer lpadmin First Argument Local Overflow
Local Access Required
Loss of Integrity
A local overflow exists in OpenServer. The lpadmin command fails to validate user-supplied arguments resulting in a buffer overflow. With a specially crafted request of more than 6476 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.