On 2004-02-05 19:12:54 -0000, Wang Yun wrote:
> Analyze:
> ========
> 1.Apache think "/WEB-INF../" unequal to "/WEB-INF/" So find this Directory by itself. 
> 2."/WEB-INF/" Directory not Forbidden in Apache Config files. 
> 3."d:\resin\doc\>cd WEB-INF.." legit in Windows Systems.

On 2004-02-09 13:48:18 -0600, Dave Weis wrote:
> 
> On 5 Feb 2004, Wang Yun wrote:
> > TOPIC: ====== Apache + Resin Reveals JSP Source Code to Remote Users And
> > Any Users Can Access Resin Forbidden Directory ("/WEB-INF/")
> 
> This doesn't seem to affect Solaris or Linux installations of Apache & 
> Resin.

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."?

hp

-- 
   _  | Peter J. Holzer      | Shooting the users in the foot is bad. 
|_|_) | Sysadmin WSR / LUGA  | Giving them a gun isn't.
| |   | hjp (at) wsr.ac (dot) at [email concealed]        |	-- Gordon Schumacher,
__/   | http://www.hjp.at/   |     mozilla bug #84128