SCO OpenServer lpadmin Buffer Overflow Vulnerability
BID:2553
Info
SCO OpenServer lpadmin Buffer Overflow Vulnerability
| Bugtraq ID: | 2553 |
| Class: | Input Validation 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 lpadmin 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 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.
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.
Exploit / POC
SCO OpenServer lpadmin Buffer Overflow Vulnerability
/opt/K/SCO/Unix/5.0.6Ga/usr/lib/lpadmin `perl -e 'print "A" x 7000'`
Memory fault - core dumped
/opt/K/SCO/Unix/5.0.6Ga/usr/lib/lpadmin `perl -e 'print "A" x 7000'`
Memory fault - core dumped
Solution / Fix
SCO OpenServer lpadmin Buffer Overflow Vulnerability
Solution:
Currently the SecurityFocus staff are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently the SecurityFocus staff are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.