Re:Supercolliding a PHP array (inserting 65536 elements take...
by pavel_lishin on Thursday December 29, 2011 @10:27AM
(#3403903)
Well, the point of that change was to prevent a hostile user from DoSing your server with malicious GET/POST requests.
I imagine it would actually be fairly difficult to accidentally recreate this issue, or let it slip through testing. No amount of patches in the world will protect you from idiots with access to your codebase
Re:Supercolliding a PHP array (inserting 65536 elements take...
by 1880 on Thursday December 29, 2011 @11:15AM
(#3404062)
Maybe they're referring to the $_POST array? You can't fix that in your app code.
Re:Supercolliding a PHP array (inserting 65536 elements take...
by subwindow on Thursday December 29, 2011 @11:08AM
(#3404036)
I think the most obvious exploit path is using thousands of query parameters, which are inserted into an "array" in PHP.
An ini setting seems like a terrible and incomplete fix to the problem.
Re:Supercolliding a PHP array (inserting 65536 elements take...
by maratd on Thursday December 29, 2011 @01:46PM
(#3404758)
> An ini setting seems like a terrible and incomplete fix to the problem.
Why? It solves the problem entirely.
Re:Supercolliding a PHP array (inserting 65536 elements take...
by subwindow on Thursday December 29, 2011 @04:52PM
(#3405551)
It only solves the exploit path, not the vulnerability.
The true issue is that their hashing algorithm sucks. Any patch that doesn't fix the hashing algorithm is a band-aid and not a true fix.
Re:Supercolliding a PHP array (inserting 65536 elements take...
by nikic on Friday December 30, 2011 @04:58AM
(#3407159)
It is somewhat risky to fundamentally change the hashing algorithm late in the release cycle (RC4). It is bound to cause problems. The ini-Option prevents the obvious threat without doing deep changes to the core.
Wait, where did we establish that less user input = less array insertions?