SCO OpenServer lpforms Buffer Overflow Vulnerability
BID:2554
Info
SCO OpenServer lpforms Buffer Overflow Vulnerability
| Bugtraq ID: | 2554 |
| Class: | Boundary Condition Error |
| CVE: | |
| Remote: | No |
| Local: | Yes |
| Published: | Mar 27 2001 12:00AM |
| Updated: | Mar 27 2001 12:00AM |
| Credit: | Reported to bugtraq by Secure Network Operations <[email protected]> on 27 Mar 2001 |
| Vulnerable: |
SCO Open Server 5.0.6 |
| Not Vulnerable: | |
Discussion
SCO OpenServer lpforms Buffer Overflow Vulnerability
SCO OpenServer 5.0.6 (and possibly earlier versions) ships with several suid bin executables used in printer administration and related tasks.
This includes lpforms, a component used to manage and configure print destinations, devices and printer interface programs.
'lpforms' contains a locally exploitable buffer overflow vulnerability. If a command line parameter argument is of excessive length, a stack overflow condition will occur.
An attacker may exploit this vulnerability execute arbitrary code with effective user 'bin' privileges.
SCO OpenServer 5.0.6 (and possibly earlier versions) ships with several suid bin executables used in printer administration and related tasks.
This includes lpforms, a component used to manage and configure print destinations, devices and printer interface programs.
'lpforms' contains a locally exploitable buffer overflow vulnerability. If a command line parameter argument is of excessive length, a stack overflow condition will occur.
An attacker may exploit this vulnerability execute arbitrary code with effective user 'bin' privileges.
Exploit / POC
SCO OpenServer lpforms Buffer Overflow Vulnerability
/opt/K/SCO/Unix/5.0.6Ga/usr/lib/lpforms `perl -e 'print "A" x 7000'`
Memory fault - core dumped
/opt/K/SCO/Unix/5.0.6Ga/usr/lib/lpforms `perl -e 'print "A" x 7000'`
Memory fault - core dumped
References
SCO OpenServer lpforms Buffer Overflow Vulnerability
References:
References: