Re: Odd server side scripts source disclosure vulnerability

From: David J. Bianco (bianco@jlab.org)
Date: Fri Aug 20 2004 - 08:06:09 EDT


It sounds as though the Apache config file is written in such a way that
the server's hostname is a virtual server, and that only the virtual server
is configured to run jsp scripts. Further, it sounds like the main server
and the virtual server may both be pointing at the same document root, which
could explain this type of behavior. It's weird, though.

        David

George Hedfors wrote:
> Pen-testers,
>
> I'm currently working on server, which reacts strangely to stripped
> HTTP request headers. For instance, removing the "Host:" from the HTTP
> header makes the remote server sending the source of the server side
> scripts (jsp) instead of executing them. This is an Apache with some
> sort of Tomcat installed. Does anyone know what kind of
> misconfiguration that could cause this? Me and my co-worker has
> seriously no idea.
>
> Thanks, George.

-- 
David J. Bianco, GSEC GCUX GCIH		<bianco@jlab.org>
Thomas Jefferson National Accelerator Facility
GPG Fingerprint:  D150 8054 5191 29D8 2FEB  C2BB C6B9 29ED 8365 AF0B
      The views expressed herein are solely those of the author and
	    not those of SURA/Jefferson Lab or the US DOE.
------------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. All of our class sizes are
guaranteed to be 12 students or less to facilitate one-on-one interaction
with one of our expert instructors. Check out our Advanced Hacking course,
learn to write exploits and attack security infrastructure. Attend a course
taught by an expert instructor with years of in-the-field pen testing
experience in our state of the art hacking lab. Master the skills of an
Ethical Hacker to better assess the security of your organization.
http://www.securityfocus.com/sponsor/InfoSecInstitute_pen-test_040817
-------------------------------------------------------------------------------


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:53:59 EDT