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:
edgeos



Bugtraq: Re: Apache Http Server Reveals Script Source Code to Remote Users And Any Users Can Access The Forbidden Directory ("/WEB-INF/")

Re: Apache Http Server Reveals Script Source Code to Remote Users And Any Users Can Access The Forbidden Directory ("/WEB-INF/")

From: Peter J. Holzer <hjp_at_wsr.ac.at>
Date: Wed, 11 Feb 2004 13:49:30 +0100

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.at        |	-- Gordon Schumacher,
__/   | http://www.hjp.at/   |     mozilla bug #84128

  • application/pgp-signature attachment: stored
Received on Feb 12 2004
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos