php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #902 doc_root ignored on Win98 and PWS -- **security hole**
Submitted: 1998-11-06 06:02 UTC Modified: 1998-12-07 11:13 UTC
From: steveth at pacbell dot net Assigned:
Status: Closed Package: Other
PHP Version: 3.0.5 OS: Win98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: steveth at pacbell dot net
New email:
PHP Version: OS:

 

 [1998-11-06 06:02 UTC] steveth at pacbell dot net
In other words, http://www.yourserver.com/cgi-bin/php.exe?/autoexec.bat works. :-(

I think I traced the problem in the source code to the server not setting
the PATH_INFO environment variable. Perhaps this is a bug in PWS? Regardless,
this should have nothing to do with using/not using doc_root.

And yes, safe_mode=1 ...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-12-07 11:13 UTC] shane
safe mode does next to nothing on windows.  If running NT, use NTFS to get security.

Also, it is not advisable to have ANY language parser located in the accessable web tree.

try using unix style path in document root such as '/my/web/root/'

A fix is submitted to cvs to allow windows style path here.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 14:01:34 2024 UTC