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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Fri May 10 21:01:33 2024 UTC