[NEWS] Resin Path Disclosure (HelloServlet)

From: support@securiteam.com
Date: 06/25/02


From: support@securiteam.com
To: list@securiteam.com
Date: Tue, 25 Jun 2002 19:00:35 +0200 (CEST)

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  Resin Path Disclosure (HelloServlet)
------------------------------------------------------------------------

SUMMARY

In a default installation of <http://www.caucho.com/> Resin server, the
examples folder will be installed as well. This folder contains a servlet
example that can be used to reveal the true path used by the server.

DETAILS

Vulnerable systems:
 * Resin versions 2.0.5 up to 2.1.2

Solution:
Production servers should not be installed with the example folders.
Remove them as soon as possible.

Example:
By making a request for:
http://target:8080/examples/basic/servlet/HelloServlet

The following result will be returned:

Hello, world!
The source of this servlet is in:

C:\Documents and
Settings\Administrator\Desktop\share\resin-2.1.1\doc\examples\basic\WEB-INF\classes\HelloServlet.java (For Windows)

Or

Hello, world!
The source of this servlet is in:

/home/root/public_html/examples/basic/WEB-INF/classes. (For UNIX)

ADDITIONAL INFORMATION

The information has been provided by
<mailto:security-protocols@hushmail.com> badpack3t.

========================================

This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages