Closed (won't fix)
Project:
Drupal core
Version:
7.0
Component:
path.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2011 at 19:06 UTC
Updated:
5 Jan 2011 at 19:30 UTC
DoS passing a double number on path /node/ like
http://mydrupalsite/node/2.2250738585072011e-308
This bug is related with php #53632 bug - PHP hangs on numeric value 2.2250738585072011e-308 -
Comments
Comment #1
manoelhc commentedComment #2
manoelhc commentedComment #3
jgknight commentedI wouldn't call it critical... php eventually times out and serves a 404 not found, and the site is still accessible to other users so I wouldn't call this a denial of service. Plus it's with php not drupal.
Comment #4
Chris CharltonI read about PHP having an issue with that number. http://www.exploringbinary.com/php-hangs-on-numeric-value-2-225073858507...
Comment #5
paul kim consulting commentedThis is a serious bug! It has the potential to bring down an entire production site.
This is the original blog post about this php bug: http://www.exploringbinary.com/php-hangs-on-numeric-value-2-225073858507...
Comment #6
manoelhc commentedWell, I got this bug just passing this number on $_GET['q']
Comment #7
manoelhc commentedIt's a PHP bug, but I think it can be avoid just checking variable types, not?
Comment #8
chx commentedDrupal can not possibly fix this. Recompile your PHP with either -O0 or -O2 -ffloat-store, optionally grab a branch tip from php svn because it been fixed a couple hours ago and compile that.