Penetration Testing mailing list archives
Re: Odd server side scripts source disclosure vulnerability
From: Hugo Fortier <hugo.fortier () gmail com>
Date: Fri, 20 Aug 2004 16:13:02 -0400
I beleive your bug is probably related to Virtual Host... The target site is probably having a Virtual Host define where the handler for the JSP are't correctly configured... Removing the Host header just make you use the default Document Root witch is badly configured and does't Handle the JSP correctly... To confirm this a easy trick would be to put the Host: header but without a bogus hostname... You will probably have the same result as if you would had not put the Host header... I have alwready saw that behavior on a IBM_HTTP_SERVER I use as a client, so I was not able to confirm if it was related to a virutal host missconfiguration or not. I would be surprise if your target is really a Tomcat server... If they are using IBM HTTP Server (With is based on Apache), they are probably running Websphere (Witch is IBM own Java Application Server). Hugo Fortier On Thu, 19 Aug 2004 10:18:41 +0100, George Hedfors <george.hedfors () gmail com> 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. -- PGP Fingerprint: 4BB9 7A99 3DB5 52AA 8CEF 4DFB 32F2 41AC 0EF2 D595 ------------------------------------------------------------------------------ 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 -------------------------------------------------------------------------------
------------------------------------------------------------------------------ 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:
- Re: Odd server side scripts source disclosure vulnerability, (continued)
- Re: Odd server side scripts source disclosure vulnerability Nicolas Gregoire (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 R. DuFresne (Aug 21)
- Re: Odd server side scripts source disclosure vulnerability George Hedfors (Aug 20)
- Re: Odd server side scripts source disclosure vulnerability Peter Parker (Aug 23)
- Re: Odd server side scripts source disclosure vulnerability Hugo Fortier (Aug 21)