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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 - 3 = ?
Subscribe to this entry?

 
 [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 13:01:34 2024 UTC