search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Netscape and iPlanet Enterprise Servers fail to sanitize log files before they are displayed using the administration client

Vulnerability Note VU#630355

Original Release Date: 2002-12-09 | Last Revised: 2003-03-27

Overview

IPlanet Enterprise Server and Netscape Enterprise Server versions prior to 4.1. SP12 have a vulnerability involving the rendering of <SCRIPT> tags embedded in the web logs when viewed through the administration client.

Description

Requests made to web servers are routinely logged by the web server to a log file, even if these requests are invalid or malicious in some way. Normally, this presents no security problems, and in fact allows administrators to record possible attacks against their system. However, in iPlanet Enterprise Server and Netscape Enterprise server versions prior to 4.1. SP12, these malicious log entries are not correctly sanitized before being viewed through the browser-based administration client. This allows a remote attacker to embed malicious <SCRIPT> tags in the URL of requests, which may be later executed by the administrator when reviewing the logs.

When the malicious script embedded in the log files is viewed through the administration client, the administrator has already authenticated to the web server, and has additional privileges. In particular, by redirecting the administrator to other pages in the administration client, the attacker can perform certain administration activities including starting or stopping the web server.

iPlanet and Netscape servers with versions greater than 4.1 SP12 (including 6.x) are not vulnerable to this problem. Netscape web server versions prior to the iPlanet alliance are vulnerable. The problem is reported to have existed in some versions of 6.x prior to SP2.

Impact

A remote attacker can execute arbitrary script as the administrator of the server by embedding <SCRIPT> tags in URL requests that are subsequently viewed in the administration client. Because the administrator has authenticated to the server via the administration client at the time the malicious script is executed, the malicious script can take administration actions on the server, including starting or stopping the server. Attackers may also be able to perform other server administration actions.

Solution

Apply a Patch

System administrators are encouraged to apply service pack 12 which corrects this vulnerability.

Vendor Information

630355
 

Netscape Communications Corporation Affected

Notified:  August 23, 2002 Updated: December 09, 2002

Status

Affected

Vendor Statement

Netscape Enterprise Server (NES) versions 6.0 and above are not affected by this vulnerability. Users of NES 6.0 or above do not need to take action to protect their systems from this problem.

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.

Sun Microsystems Inc. Affected

Notified:  August 28, 2002 Updated: March 27, 2003

Status

Affected

Vendor Statement

The iPlanet Web Server Administration Server versions 4.1 SP11 and earlier and the Sun ONE Web Server Administration Server versions 6.0 SP1 and earlier are vulnerable to this issue. The issue is addressed in the iPlanet Web Server 4.1 Service Pack 12. It is also addressed in the Sun ONE Web Server 6.0 Service Pack 2 and later, which is available for download from the following location:

A Sun Alert with resolution details and workaround information is available from:

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.

iPlanet Affected

Updated:  October 08, 2002

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

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

Addendum

The CERT/CC has been informed that the iPlanet alliance has been dissolved and that Sun and Netscape now have independent products called Sun ONE Server and Netscape Enterprise Server respectively. iPlanet Enterprise Servers are being maintained by Sun Microsystems, and patches for iPlanet products should be available fom them.

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

Thanks to Steve Knight at ProCheckup for reporting this vulnerability to the CERT/CC on July 25th, 2002, and working for many weeks to notify vendors and wait for patches to be available.

This document was written by Cory F. Cohen.

Other Information

CVE IDs: None
Severity Metric: 1.37
Date Public: 2002-12-04
Date First Published: 2002-12-09
Date Last Updated: 2003-03-27 18:37 UTC
Document Revision: 9

Sponsored by CISA.