Penetration Testing mailing list archives
Re: Odd server side scripts source disclosure vulnerability
From: "David J. Bianco" <bianco () jlab org>
Date: Fri, 20 Aug 2004 08:06:09 -0400
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 -------------------------------------------------------------------------------
Current thread:
- Odd server side scripts source disclosure vulnerability George Hedfors (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability David J. Bianco (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability Nicolas Gregoire (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability George Hedfors (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability Nicolas Gregoire (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability George Hedfors (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability Marek Wójcik (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability George Hedfors (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability R. DuFresne (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability Hugo Fortier (Aug 21)
- Re: Odd server side scripts source disclosure vulnerability R. DuFresne (Aug 21)
- Re: Odd server side scripts source disclosure vulnerability R. DuFresne (Aug 22)
- Re: Odd server side scripts source disclosure vulnerability Joey Peloquin (Aug 22)
- Re: Odd server side scripts source disclosure vulnerability George Hedfors (Aug 20)