search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Sambar Web Server vulnerable to sourcecode disclosure due to improper parsing of scripts

Vulnerability Note VU#117139

Original Release Date: 2002-07-29 | Last Revised: 2003-05-19

Overview

Sambar Webserver displays script contents instead of interpreting them when the user adds certain characters to the end of the script URL.

Description

Sambar Webserver is designed to handle CGI requests by interpreting CGI scripts to produce output returned to the client. However, due to flaws in Sambar Webserver's URL parsing, it is possible to trick the server into into thinking that a CGI script is a regular file and serving the script's contents instead of interpreting the script. This problem occurs when the client adds a space and a null byte to the end of the script URL.

Impact

Attackers can access information that may be considered sensitive, including usernames or passwords contained in CGI scripts.

Solution

Apply a patch from your vendor

Upgrade to version 5.2b, available at:

http://sambar.dnsalias.org/win32-preview.tar.gz

Remove all CGI scripts from the server, or limit the sensitive information in your CGI scripts.

Vendor Information

117139
 

Sambar Technologies Affected

Notified:  April 18, 2002 Updated: June 07, 2002

Status

Affected

Vendor Statement

"A patch is currently available at:

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

The content of this document is based on information provided by Peter Gründl.

This document was written by Shawn Van Ittersum and Jeffrey P. Lanza.

Other Information

CVE IDs: CVE-2002-0737
Severity Metric: 4.56
Date Public: 2002-04-17
Date First Published: 2002-07-29
Date Last Updated: 2003-05-19 23:32 UTC
Document Revision: 12

Sponsored by CISA.