|
BugTraq
Apache Http Server Reveals Script Source Code to Remote Users And Any Users Can Access The Forbidden Directory ("/WEB-INF/") Feb 05 2004 07:12PM Wang Yun (wangyun188 hotmail com) (3 replies) Re: Apache Http Server Reveals Script Source Code to Remote Users And Any Users Can Access The Forbidden Directory ("/WEB-INF/") Feb 12 2004 07:10PM Bill Stoddard (bill wstoddard com) Re: Apache Http Server Reveals Script Source Code to Remote Users And Any Users Can Access The Forbidden Directory ("/WEB-INF/") Feb 09 2004 07:48PM Dave Weis (djweis sjdjweis com) |
|
Privacy Statement |
> 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
[ reply ]