php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29356 Trailing URL Information Crashes Application Pool Using FastCGI
Submitted: 2004-07-23 19:20 UTC Modified: 2005-02-11 01:00 UTC
Votes:22
Avg. Score:4.6 ± 0.7
Reproduced:21 of 21 (100.0%)
Same Version:12 (57.1%)
Same OS:19 (90.5%)
From: kyle at flaretech dot biz Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 4.3.8 OS: Windows Server 2003
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kyle at flaretech dot biz
New email:
PHP Version: OS:

 

 [2004-07-23 19:20 UTC] kyle at flaretech dot biz
Description:
------------
I'm using IIS 6, PHP 4.3.8, and the latest ISAPI FastCGI binary from http://www.caraveo.com/fastcgi/.  It seems that it's possible to soft-crash the application pool serving a website by requesting a URL to a PHP file followed by /somefile.ext.

Reproduce code:
---------------
Access any existing php file using url http://www.domain.com/file.php/test.htm

Expected result:
----------------
PHP should return "No input file specified."

Actual result:
--------------
Application pool crashes and recycles. If rapid fail protection is enabled and the url is accessed several times consecutively, the application pool will shutdown after reaching the maximum amount of errors.

Output from c:\windows\system32\logfiles\httperr

2004-07-22 16:30:32 68.13.155.34 1603 69.93.181.90 80 HTTP/1.1 GET /index.php/test.htm - 7847 Connection_Abandoned_By_AppPool 
2004-07-22 16:30:33 68.13.155.34 1604 69.93.181.90 80 HTTP/1.1 GET /index.php/test.htm - 7847 Connection_Abandoned_By_AppPool 
2004-07-22 16:30:36 68.13.155.34 1609 69.93.181.90 80 HTTP/1.1 GET /index.php/test.htm - 7847 Connection_Abandoned_By_AppPool 
2004-07-22 16:30:38 68.13.155.34 1611 69.93.181.90 80 HTTP/1.1 GET /index.php/test.htm - 7847 Connection_Abandoned_By_AppPool 
2004-07-22 16:30:38 68.13.155.34 1610 69.93.181.90 80 HTTP/1.1 GET /index.php/test.htm - 7847 Connection_Dropped 
2004-07-22 16:30:40 68.13.155.34 1613 69.93.181.90 80 HTTP/1.1 GET /index.php/test.htm - 7847 Connection_Abandoned_By_AppPool 
2004-07-22 16:30:40 68.13.155.34 1614 69.93.181.90 80 HTTP/1.1 GET /index.php/test.htm 503 7847 AppOffline

The following error appears in event log:

Event Type:	Warning
Event Source:	W3SVC
Event Category:	None
Event ID:	1009
Date:		7/23/2004
Time:		11:48:46 AM
User:		N/A
Computer:	SRV01
Description:
A process serving application pool 'DefaultAppPool' terminated unexpectedly. The process id was '4876'. The process exit code was '0x80'.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 14:01:28 2024 UTC