| Bug #49826 | Code example known to be exploitable. | ||||
|---|---|---|---|---|---|
| Submitted: | 9 Oct 9:18pm UTC | Modified: | 13 Nov 9:12pm UTC | ||
| From: | kore@php.net | Assigned to: | ilia | ||
| Status: | Closed | Category: | Documentation problem | ||
| Version: | Irrelevant | OS: | Irrelevant | ||
[9 Oct 9:18pm UTC] kore@php.net
[9 Oct 11:09pm UTC] bjori@php.net
I think the argument about crashing php because it used recursive function is a total crap. There was a 'security fix' recently (the max_input_nesting_level INI setting) to fix exactly that, and no Ilia was not the one who reported it nor fixed it: Added "max_input_nesting_level" php.ini option to limit nesting level of input variables. Fix for MOPB-03-2007. (Stas). And the code on the slide is worse AFAICT, it doesn't deal with arrays nor $_REQUEST at all, so AFAICT it introduces security issues, not fixes them. Ilia: please have a look at the example and clarify if needed..
[13 Nov 9:12pm UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better.
[13 Nov 9:12pm UTC] svn@php.net
Automatic comment from SVN on behalf of vrana Revision: http://svn.php.net/viewvc/?view=revision&revision=290699 Log: Improve run-time disabling of magic quotes (bug #49826)
