|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6366 Security vulnerability for bad url file names with IIS PHP
Submitted: 2000-08-26 09:11 UTC Modified: 2000-08-26 12:42 UTC
From: joel at intwebservices dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1pl2 OS: Windows NT 4.0
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.
Block user comment
Status: Assign to:
Bug Type:
From: joel at intwebservices dot com
New email:
PHP Version: OS:


 [2000-08-26 09:11 UTC] joel at intwebservices dot com
If you put a bad file name in the url the error message shows the hard drive directory structure.

No script necessary.
Just put any bad file name in a url for an IIS web server 

cgi version:
Fatal error: Unable to open S:\awebsites\websiteman\html\*a.php in Unknown on line 0

isapi version
Warning: Failed opening 'S:\awebsites\websiteman\html\*a.phpi' for inclusion (include_path='') in Unknown on line 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-26 12:38 UTC]
This is intended behaviour, use error_reporting = off if you do not want this.
 [2000-08-26 12:42 UTC]
Actually error_reporting = off is a bit meaningless.
One should use
display_errors = Off
to avoid displaying errors to the end users.  Assuming you're still interested in knowing what error messages were triggered, you should also use
log_errors = On
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 16:01:28 2024 UTC