#30954 [NEW]: Recursive "include" by URL halt apache

From: Date: Thu, 02 Dec 2004 01:12:43 +0000
Subject: #30954 [NEW]: Recursive "include" by URL halt apache
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69707@lists.php.net to get a copy of this message
From: admin at synacksecurity dot com Operating system: Linux PHP version: 4.3.9 PHP Bug Type: Reproducible crash Bug description: Recursive "include" by URL halt apache Description: ------------ include with no fopen_url restrictions, and recursively calling to self php file, can crash all HTTPD server by "process limit reached". Reproduce code: --------------- this is http://anyhost/1.php: Hola amigo <? include ('http://anyhost/1.php'); ?> Expected result: ---------------- httpd 2.0.52 forked into 150 processes. all of them is recursively calling themselves by sockets, and server hangs. -- Edit bug report at http://bugs.php.net/?id=30954&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30954&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30954&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30954&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30954&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30954&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30954&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30954&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30954&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30954&r=support Expected behavior: http://bugs.php.net/fix.php?id=30954&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30954&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30954&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30954&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30954&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30954&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30954&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30954&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30954&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30954&r=mysqlcfg

« previous php.bugs (#69707) next »