php.net |  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
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: 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-26 12:38 UTC] stas@php.net
This is intended behaviour, use error_reporting = off if you do not want this.
 [2000-08-26 12:42 UTC] zeev@php.net
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: Thu Mar 28 10:01:26 2024 UTC