lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20040211124930.GD23401@wsr.ac.at>
Date: Wed, 11 Feb 2004 13:49:30 +0100
From: "Peter J. Holzer" <hjp@....ac.at>
To: bugtraq@...urityfocus.com
Subject: Re: Apache Http Server Reveals Script Source Code to Remote Users And    Any Users Can Access The Forbidden Directory ("/WEB-INF/")

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

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ