Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

Re: Apache Http Server Reveals Script Source Code to Remote Users And Any Users Can Access The Forbidden Directory ("/WEB-INF/")
From: "Oliver Schneider" <Borbarad () gmxpro net>
Date: Thu, 12 Feb 2004 19:25:55 +0100 (MET)

Right. On Unix "WEB-INF" and "WEB-INF.." are two different, legal file
names. On Windows, trailing dots seem to be ignored, so "WEB-INF" and
"WEB-INF.." are just two names for the same file. This also works if the
filename already has an extension, so for example "foo.html" and
"foo.html....." are the same file, too. I wonder whether that can be
exploited, too: Get the contents of a CGI script by requesting
"foo.cgi."?
I checked it on our Windows 2000 Server running Apache 2.0.48, it didn't
work for the .pl-scripts.
I.e. "download.pl." instead of "download.pl" gave the output of the actual
script.

Oliver


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]